-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery opens on the wrong language #6054
Comments
Hi @fgouget!
In your link I cannot see where it says that French is the main language. Where is it displayed? Could be that you're in the French version of the website; what about https://uk.openfoodfacts.org/product/3154230802280/smoked-bacon-pieces-without-nitrites-herta?
I couldn't reproduce this: on my app in French (latest dev version) the gallery does open on the French tab first. |
Maybe linked to #6050. |
It is displayed in the usual place. Switch to edit mode, the main language is shown near the top of the page:
The website systematically revert me to the English version but that clearly has no impact on that the main language is (see above screenshot).
No. The app is clearly in French, see:
I cannot. Version 4.16.9 is the latest version available from either the Play Store or F-Droid.
It is related to language handling too but it is still quite different. Unlike issue 6050:
|
So this was wrong 30 minutes ago but now Français is the first tab as expected. I wonder if it's just opening the first language in some hashtable or something. And yes, this is still 4.16.9. |
From what I read in the code of
As explained here, we do change the product main language each time we change product details. cf. #4771 |
What
The product below has two languages, "French" and "English" where "French" is the main language according to the website:
https://fr.openfoodfacts.org/produit/3154230802280
And yet, in the Android application, the gallery opens the English tab by default instead of the French one. This is very confusing as this results in photos appearing to be missing when they are in fact present.
In contrast the Ingredients section shows the French ingredients list by default.
(Of course the product packaging being all French there should probably not be any data for the English in the first place but that's a separate issue.)
Smartphone model
The text was updated successfully, but these errors were encountered: