Difference between pages "Global taxonomies" and "Translations"

From Open Food Facts wiki
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
Thanks a lot for your interest in translating Open Food Facts (website interface, mobile applications) in new languages and/or improving the existing translations!
  
== Introduction ==
+
== Tools to translate ==
  
Open Food Facts uses global taxonomies for fields such as categories, brands, labels and countries. This page explains how taxonomies work in Open Food Facts and how they can be updated and enhanced.
+
We use this wiki to add translations to Open Food Facts.
  
== Features ==
+
== Pages to translate ==
  
* A global hierarchy / taxonomy for each type of data field (categories, brands, labels, countries etc.)
+
* [[Translations - Web site interface]]
* Translations for every language of each field value
+
* [[Translations - Names of nutrients]]
* Multiple synonyms for each field value in each language
+
* [[Translations - Front page]]
* Stopwords for each language/field type
+
* [[Global taxonomies]] for categories, labels, brands etc.
 +
** [[Test taxonomy]] showing the basic taxonomy definition features
 +
** [[Global categories taxonomy]]
 +
** [[Global brands and companies taxonomy]]
 +
** [[Global labels taxonomy]]
 +
** [[Global countries taxonomy]]
 +
** [[Additives_taxonomy]]
 +
* [[Marketing Translations]] for posters, logos…
 +
* Mobile Apps
 +
** Android: https://translations.launchpad.net/openfoodfacts/
 +
** iOS:  (Soon to come)
 +
** Windows Phone:  (Soon to come)
  
== Generalities ==
+
== News / Announcements etc. ==
  
Each language has a 2-letter prefix. e.g. "en" for English and "fr" for French.
+
* [[January 2014 - Open Food Facts is getting global]]
  
Whenever possible, the canonical language for each field value should be English. e.g. en:soups is the canonical value for the Soups category.
+
You can log in on the wiki (first login on [http://openfoodfacts.org Open Food Facts] and you can then login on the wiki automatically) and edit the wiki pages to add/correct translations.
A value can be defined in another language (which becomes the canonical language), e.g. fr:soupes-a-l-oignon could be the canonical value for "Onion Soups" if we don't have an English tranlsation yet. Before December 2013, the taxonomies were defined for each language, with most definitions for French, but English translations will be added progressively.
 
  
New values (e.g. categories that do not exist yet) should have an English canonical value.
 
  
Each field value can be translated to any language.
+
[[fr:Traductions]]
 
 
When a field value needs to be translated to a target language, if the translation does not exist yet, English is shown (or the canonical language if the English translation does not exist either).
 
 
 
In each language, each value can have a number of synonyms.
 
 
 
Simple synonyms (simple singular) are done automatically when possible.
 
 
 
Synonyms are recursive: if en:yoghurt is a synonym of en:yogurt, then en:banana_yoghurt will automatically be added as a synonym of en:banana_yogurt
 
 
 
Stopwords can be used to further extend synonyms. e.g. if "à" and "la" are stopwords for French, then "Yaourts fraise" will automatically be mapped to "Yaourts à la fraise".
 
 
 
The taxonomy is not a strict hierarchy: values can have multiple parents. But cycles are not allowed.
 
 
 
== Format ==
 
 
 
<pre>
 
# stopwords
 
stopwords:en: some,stopwords
 
stopwords:fr: word,that,are,removed,when,matching
 
 
 
# synonyms that are not field values but that are contained in field values
 
synonyms:en: global,international
 
 
 
en: value, a synonym value, another synonym value
 
fr: valeur, une valeur synonyme, une autre valeur synonyme
 
 
 
<en: value
 
en: a child value, a synonym for a child value
 
fr: une valeur enfant, un synonyme d'une valeur enfant
 
 
 
<en: value
 
en: another child value
 
 
 
<en: a child value
 
<en: another child value
 
en: a grand-child value
 
 
 
# properties
 
en: value
 
fr: valeur
 
description:en: a property of value
 
description:fr: french version of the property
 
country_code:en: a property that is the same for all languages -> use English suffix en:
 
wikidata:Q89
 
 
 
</pre>
 
 
 
== Taxonomies ==
 
 
 
The definitions can be edited on this wiki, they are periodically synchronized on the Open Food Facts database and web site.
 
 
 
=== Taxonomies ===
 
 
 
* [[Test taxonomy]] showing the basic taxonomy definition features
 
* [[Global categories taxonomy]]
 
* [[Global brands and companies taxonomy]]
 
* [[Global labels taxonomy]]
 
* [[Global countries taxonomy]]
 
* [[Additives_taxonomy]]
 
 
 
=== Draft Taxonomies ===
 
* [[Packaging_taxonomy]]
 

Revision as of 14:20, 3 November 2014

Thanks a lot for your interest in translating Open Food Facts (website interface, mobile applications) in new languages and/or improving the existing translations!

Tools to translate

We use this wiki to add translations to Open Food Facts.

Pages to translate

News / Announcements etc.

You can log in on the wiki (first login on Open Food Facts and you can then login on the wiki automatically) and edit the wiki pages to add/correct translations.


fr:Traductions