Linguist by FriendsOfFlarum
, (*1)
With this extension you can configure alternate or missing translation strings for your forum. Includes:, (*2)
- No manual translation file editing required, everything is configured via the admin UI
- Translate frontend or backend strings
- Override the translation for a specific locale or all installed locales
- Easily search for strings by name or value in any language
- Multiple filters to find strings that are missing translations or belong to a specific extension
After editing translations, Linguist will offer you the opportunity to clear the forum cache.
For performance reasons, Linguist won't attempt to clear the cache by itself., (*3)
If the new translations don't show up, try clearing the cache again by using Dashboard > Tools > Clear cache or by running php flarum cache:clear
., (*4)
Also note Flarum uses a "one place, one translation key" approach to translations, so you might have to edit several keys to replace a specific keyword., (*5)
Installation
composer require fof/linguist
Updating
composer require fof/linguist
php flarum migrate
php flarum cache:clear
Updating from Flagrow
This extension replaces Flagrow Linguist., (*6)
To upgrade from the old extension to the new one:, (*7)
composer require fof/linguist
Composer should let you know that flagrow/linguist
has been automatically removed., (*10)
-
Enable the new extension in the admin panel., (*11)
-
Your existing translations will be migrated to FoF Linguist automatically., (*12)
-
Edit a translation or clear the cache to apply the existing translations to the forum., (*13)
Configuration
Once enabled, a new tab will show up in the admin to configure translations., (*14)
The tab will list all translations strings registered by extensions on your forum.
You can customize the text by entering your own value in the field., (*15)
A special field "all" allows you to define a single text that will be shown in all languages., (*16)
Keep in mind some strings contain references in the form {referencename}
that you have to keep identical if you want the data to show up., (*17)
Links
An extension by FriendsOfFlarum, (*18)