Fix issues to deploy /lang directory as-is in production #2705
Labels
🌐 i18n
Regarding software localization
static content
This lives at https://github.com/openfoodfacts/openfoodfacts-web
This is a meta-bug to identify issues that need to be fixed if we want to deploy the /lang directory as-is in production, instead of hand picking files and copying them manually.
Texts have been translated in 2 ways:
Going forward, we probably need to standardize on using Crowdin for texts translation (as it's easier to update parts of the translations), but we first need to review the texts in OFF main languages.
e.g. compare those 2 pages:
The URLs of some pages in some languages have been translated. E.g. the /discover page is /decouvrir in French.
Some of those pages with translated names are in github (e.g. for French), but most are not (e.g. for German, in production, there are many files with translated names in /srv/off/lang/de/texts that are not in github). Some are in github but are broken (e.g. https://es.openfoodfacts.org/contribuir is a copy of the /descubrir text).
Proposed solution: remove files with translated names from github (once we have fixed the bad translations from the first item above), and implement #1818 so that we can keep translated URLs.
The text was updated successfully, but these errors were encountered: