-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Honor queries with codes like zh_CN or pt_BR #4091
Comments
We already do it in write mode:
|
IMHO, the app shouldn't be sending these requests right now. The |
I agree with @hangy, we don't want apps to send us extended language codes, the more workaround we had, the more bugs we will have down the road. Here the right thing to do is to change the OFF app so that it sends only the 2 letter code. |
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts |
What
https://ssl-api.openfoodfacts.org/api/v0/product/6924743919235.json?fields=ingredients_text_zh-CN%2Cproduct_name_zh-CN
https://ssl-api.openfoodfacts.org/api/v0/product/6924743919235.json?fields=ingredients_text_zh%2Cproduct_name_zh
Part of
The text was updated successfully, but these errors were encountered: