76
edits
No edit summary |
(introducted shorter term solution) |
||
Line 5: | Line 5: | ||
See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Abrands issues related to <code>brands</code>]. | See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Abrands issues related to <code>brands</code>]. | ||
=== Suggested solution for the taxonomy === | === Suggested solution for the taxonomy === | ||
==== Short-term solution ==== | ==== Short-term solution ==== | ||
Make brands language-less | |||
Iif a brand has a translated name, in some countries then we consider it to be a different brand (in a lot of cases the products sold under those translated names will be different). | |||
For products that display the brand in only one language, we just record that brand, and we display it as-is. | |||
==== Mid-term solution (to be defined/work in progress) ==== | |||
The taxonomy for brands should have following features: | The taxonomy for brands should have following features: | ||
* a single brand is defined by a block of text and are separated by white lines; | * a single brand is defined by a block of text and are separated by white lines; | ||
Line 48: | Line 58: | ||
In this example, we put de_de as first language because Lidl is a German company. Nevertheless, it should work the same starting with different language, at the condition that children refers to the parent accordingly. | In this example, we put de_de as first language because Lidl is a German company. Nevertheless, it should work the same starting with different language, at the condition that children refers to the parent accordingly. | ||
==== | ==== Long-long-term solution (to be defined/work in progress) ==== | ||
Same as before, adding: | Same as before, adding: | ||
edits