Skip to content

Translations Inspector ​

Browse and edit translation catalogs across all locales.

Features ​

FeatureDescription
Catalog browserView all translation catalogs and their messages
Locale comparisonCompare translations across locales
Live editingUpdate translation messages directly from the panel

How It Works ​

The inspector reads all registered translation category sources and displays messages organized by catalog and locale. You can browse messages, search for specific keys, and edit translations in place.

API Endpoints ​

MethodPathDescription
GET/inspect/api/translationsAll catalogs and messages for all locales
PUT/inspect/api/translationsUpdate a translation message

Update request body:

json
{
    "catalog": "messages",
    "locale": "en",
    "key": "welcome.title",
    "value": "Welcome to our app"
}

Adapter Support ​

Requires framework-specific translation integration (e.g., Symfony Translator, Laravel Lang). Returns 501 if translations are not available.

TIP

Changes made via the Translations Inspector update the application's translation source directly. This is useful for quick fixes during development.

Released under the MIT License.