Back office translations¶
Enabling back office languages¶
All translations are available as a part of Cohesivo. To enable back office translations, use the following configuration:
1 2 3 4 | |
Now you can reload your Cohesivo back office. If your browser language is set to French, the back office is displayed in French.
Checking browser language
To make sure that a language is set in your browser, check if it's sent as an accepted language in the Accept-Language header.
Tip
You can also manually add the necessary .xliff files to an existing project.
Add the language to an array under ibexa.system.<siteaccess>.user_preferences.additional_translations, for example:
ibexa.system.<siteaccess>.user_preferences.additional_translations: ['pl_PL', 'fr_FR']
Selecting back office language¶
Once you have language packages enabled, you can switch the language of the back office in the User Settings menu.
Otherwise, the language is selected based on the browser language.
If you don't have a language defined in the browser, the language is selected based on the parameters.locale_fallback setting.