openfoodfacts/openfoodfacts-server
View on GitHubThose strings should be made translatable with placeholders
Open
#6,687 opened on Apr 25, 2022
Template::ToolkitTranslationsgood first issue⏰ Stale✅ Task
Repository metrics
- Stars
- (477 stars)
- PR merge metrics
- (Avg merge 15d 21h) (157 merged PRs in 30d)
Description
What
Those strings should be made translatable with placeholders, with RTL languages in mind, currently it's a concatenation of strings, which can cause unintended behavious https://github.com/openfoodfacts/openfoodfacts-server/blob/main/templates/api/knowledge-panels/environment/ecoscore/total.tt.json#L8