Changes

Jump to navigation Jump to search
m
no edit summary
Line 3: Line 3:     
In the database, this field is called <code>brands</code>.  
 
In the database, this field is called <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>].
 
See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Abrands issues related to <code>brands</code>].
 +
 +
See also:
 +
 +
https://github.com/openfoodfacts/openfoodfacts-server/pull/4385
 
=== 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 61:  
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.
   −
==== Mid-long-term solution (to be defined/work in progress) ====
+
==== Long-long-term solution (to be defined/work in progress) ====
 
Same as before, adding:
 
Same as before, adding:
  
75

edits

Navigation menu