Changes

Jump to navigation Jump to search
more details about nutrition facts tables (EU vs US) and the "main" language
Line 28: Line 28:  
=== Data entry ===
 
=== Data entry ===
   −
* There is a field to indicate the "main" language of a product
+
* We currently have a field to indicate the "main" language of a product
 +
** The intention of this field was to put the language that is the most prominent on the label.
 +
*** There are a few products where the split is 50% / 50% but those are not very common.
 
** Values entered in the product edit form are considered to be in the "main" language of the product
 
** Values entered in the product edit form are considered to be in the "main" language of the product
 
** Values entered in fields for which we have a taxonomy (categories, countries, labels, traces) are mapped according to the "main" language of the product
 
** Values entered in fields for which we have a taxonomy (categories, countries, labels, traces) are mapped according to the "main" language of the product
 
*** e.g. entering "jus de fruits" in the categories field when the main language is set to French will result in en:fruit-juices to be assigned.
 
*** e.g. entering "jus de fruits" in the categories field when the main language is set to French will result in en:fruit-juices to be assigned.
 +
 
* Values for nutrition facts are global and assigned to a canonical field
 
* Values for nutrition facts are global and assigned to a canonical field
 
** Except when the nutrient's name is unknown (i.e. not in our current nutrient taxonomy)
 
** Except when the nutrient's name is unknown (i.e. not in our current nutrient taxonomy)
 +
* The default nutrients shown depend on the country (EU nutrition table vs US/CA nutrition table)
 +
 
* Images are selected/cropped for the "main" language of the product (product front, ingredients and nutrition facts)
 
* Images are selected/cropped for the "main" language of the product (product front, ingredients and nutrition facts)
   Line 42: Line 47:  
** Only if the target language exists for this category in the taxonomy
 
** Only if the target language exists for this category in the taxonomy
 
*** If the target language doesn't exist, English is used to display the field value
 
*** If the target language doesn't exist, English is used to display the field value
 +
 
* Nutrition facts are displayed in the target language
 
* Nutrition facts are displayed in the target language
 +
** The nutrition facts are displayed according to the country (different order and presentation for EU nutrition tables vs US/CA nutrition tables)
 +
 
* Fields without a taxonomy are displayed in the language they were entered in
 
* Fields without a taxonomy are displayed in the language they were entered in
 
** common name, quantity, packaging, brands, origin of ingredients, manufacturing or processing places, city/state/country, stores, link to the product page, best before date
 
** common name, quantity, packaging, brands, origin of ingredients, manufacturing or processing places, city/state/country, stores, link to the product page, best before date
 
** ingredients  
 
** ingredients  
 +
 
* Images for product front, ingredients and nutrition facts are for the main language of the product (and not the target language)
 
* Images for product front, ingredients and nutrition facts are for the main language of the product (and not the target language)
   Line 57: Line 66:  
** Packaging, origins of ingredients, purchase places
 
** Packaging, origins of ingredients, purchase places
 
*** Note: packaging and purchase places do not correspond to text on the label
 
*** Note: packaging and purchase places do not correspond to text on the label
 +
 
* Enable users to enter data for more than one language:
 
* Enable users to enter data for more than one language:
 
** Select different images or different part of the images for product front, ingredients and nutrition facts
 
** Select different images or different part of the images for product front, ingredients and nutrition facts
 
** Enter data (text) for more than one language
 
** Enter data (text) for more than one language
 +
 +
* We keep the "main language" field
 +
** Indicates the most prominent language on the label
 +
** When the split is 50% / 50% (e.g. some products sold in Belgium with one side in Dutch and another side in French), picking either is fine.
    
=== Data display ===
 
=== Data display ===
Line 99: Line 113:     
* Keep all exisiting fields as-is
 
* Keep all exisiting fields as-is
 +
** including the "main language" field
 
** e.g. ingredients, generic_name etc.
 
** e.g. ingredients, generic_name etc.
 
** "ingredients_text":"Chocolate, milk"
 
** "ingredients_text":"Chocolate, milk"

Navigation menu