aleene / FoodViewer

An app to view and edit Open Food Fact products
Apache License 2.0
10 stars 5 forks source link

New categories language prefix #1012

Closed aleene closed 4 years ago

aleene commented 4 years ago

When adding categories through the selector, everything is ok. But when adding additional categories by free text, the selector categories have the wrong language prefix.

aleene commented 4 years ago

First question: how are the selector tags stored? They are stored in the interface language. This is also the case for any free tag that is added.

The save method adds the main product language.

aleene commented 4 years ago

When does the user enter data in main product language and when in interface language?

aleene commented 4 years ago

I do no need to take into account that a tag can have a language prefix, but that existed already.