-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Translate raw product categories #224
Comments
Current implementation idea. The API to searchalicious (autocomplete endpoint) is called:
The fetch returns a list of max 10 categories (max number can be changed) and this list will be shown in the autocomplete field. Other implementation ideas
Please add more ideas if you have |
Currently the @raphael0202 did the filtering. Could you share your script ? So that we can use it to add the other languages ? Also in #87 : "With a script, by fetching all subcategories under "fruits" and "vegetables", with an additional manual curation step." |
I built it manually by fetching children of "fruits", "vegetables" and filtering this set. |
@raphael0202 did you have a look at the script to filter the raw categories + translate them ?
|
It looks good to me! |
Story
Currently the list of categories is only limited to english : https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/data/category-tags.json
See #30 on how it was initiated
the full json is here : https://static.openfoodfacts.org/data/taxonomies/categories.full.json
The text was updated successfully, but these errors were encountered: