openfoodfacts/smooth-app
View on GitHubPropose changing the default contribution language when switching countries
Open
#5,339 opened on Jun 6, 2024
Travel modegood first issue
Repository metrics
- Stars
- (1,372 stars)
- PR merge metrics
- (PR metrics pending)
Description
Problem
From Yaron: "Hey everyone, I wanted to raise a concern about the app and web behavior; most of the products documented in Israel have their image tagged as English, even though the product is clearly in Hebrew. Is there a way to configure a default language for image tagging in the app? Is there an easy way to change the language using the web interface? Thanks :)"
Tasks
- Put the languages of the current country at the top of the language list, in a specific section
- Propose changing the défaut contribution language when switching countries
- Propose changing the défaut UI language when switching countries
- Use MLKit to spot the language of a newly taken image, and check it's in the right language (and propose an optional language change if it's not coherent)
- Use MLKit to propose fixing existing selected images and put them in the right language
- Use MLKit to propose fixing existing fields and put them in the right language