Enable forum users to find details about translations
Enable forum users to find details about translations.
- A link in the session dropdown enables "inspect" mode
- When "inspect" mode is active, all translatable texts are highlighted
- Clicking on a text brings up a modal with details about the translation key, which extension provides it, and a link to the source file if it's on GitHub
- If you are in a context where you cannot click the inspect button (for example as guest or inside a modal), you can run
startTranslationInspection()from the browser console
Caution: if you have private extensions or local extenders installed, this extension could expose their repository URLs, names, icons or relative paths to some of their yaml files to users with the Inspect permission!
With the current feature set it probably doesn't make much sense to install this extension on a production forum. It is more meant as a developer tool.
composer require clarkwinkelmann/flarum-ext-translation-inspector
This extension is under minimal maintenance.
It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.
You can contact me to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.