openfoodfacts / openfoodfacts-ios

Native (Swift) version of Open Food Facts for iOS. Coders & Decoders welcome 🤳🥫 😊
https://ios.openfoodfacts.org
Apache License 2.0
360 stars 159 forks source link

Use raw values for untaxonomized categories instead of IDs #715

Open teolemon opened 4 years ago

teolemon commented 4 years ago

image

We present the raw input in: https://world.openfoodfacts.org/api/v0/product/8901719106538.json?fields=categories_tags,categories

aleene commented 4 years ago

Have to find out if these are available in the app.

aleene commented 4 years ago

The problem with this product (https://world.openfoodfacts.org/product/4029764001807/club-mate-loscher) is that the categories have been specified in the multiple languages. We recognized only the first three (probably in german), the others are in french.

aleene commented 4 years ago

We could put the original tags in, but they are not retrieved from the json at the moment.