Translation Inspector

Enable forum users to find details about translations

Compatible with Flarum v1.8.5

Latest release 0.1.0

91 downloads

released on Jun 4, 2021

Tags

Translation Inspector

MIT license Latest Stable Version Total Downloads Donate

Enable forum users to find details about translations.

Features:

  • 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.

Installation

composer require clarkwinkelmann/flarum-ext-translation-inspector

Support

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.

Links

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.