Enable in-line Crowdin translations for logged in users/moderators #5610
Labels
🎯 P1
⏰ Stale
This issue hasn't seen activity in a while. You can try documenting more to unblock it.
✅ Task
Translations
We use a non-standard version of GetText, lack language variants support translate.openfoodfacts.org
What
Why
How
Integration
Add the following JavaScript snippet to your website, on the pages, where the widget should be displayed, right before the closing tag.
Note! Each person who clicks on the widget will have to choose from the list of all the project's target languages before contributing. If you want to skip this step – predefine the target language at the beginning, by adding the language code to the snippet. Please remember, that people will still be able to change the language in the widget settings.
Crowdin language codes
Here's how a part of the snippet with a predefined French target language looks like:
Part of
The text was updated successfully, but these errors were encountered: