Difference between revisions of "Global labels taxonomy"
Jump to navigation
Jump to search
(Refactor) |
Raphael0202 (talk | contribs) m (Add reference to Robotoff logo detection) |
||
Line 4: | Line 4: | ||
* it allows to add the logo of the label | * it allows to add the logo of the label | ||
* it allows to make link with the corresponding wikidata category | * it allows to make link with the corresponding wikidata category | ||
+ | * we can detect it automatically using [https://openfoodfacts.github.io/robotoff/ Robotoff] | ||
* etc. | * etc. | ||
Revision as of 16:33, 30 December 2022
You can add anything if it makes sense as a label: Open Food facts will keep it, but it's better to add it to the label taxonomy:
- next users will be able to choose this label, thanks to the autocompletion, without making mistakes
- it allows to add the logo of the label
- it allows to make link with the corresponding wikidata category
- we can detect it automatically using Robotoff
- etc.
How to add a label in the taxonomy?
- just edit the labels.txt file (see Global taxonomies for instructions)
- It is possible to display logos for labels, you can add them to Global labels taxonomy logos and file https://github.com/openfoodfacts/openfoodfacts-server/tree/main/html/images/lang/fr/labels
Note
If a label exists only in one language (e.g. French "AB Agriculture Biologique
"), put that language only.
Otherwise always put the English en:
version first.
Taxonomy translation
Replace XX by your language. https://world-XX.openfoodfacts.org/labels?translate=1