Difference between revisions of "Languages taxonomy"

From Open Food Facts wiki
Jump to navigation Jump to search
(Created)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Language codes ==
 
== Language codes ==
 
ISO standards, basis for language codes
 
ISO standards, basis for language codes
 +
== Implementation ==
 +
The taxonomy currently in use is found on [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/taxonomies/languages.txt Github].
 
== Wikidata ==
 
== Wikidata ==
 
Relation with wikidata
 
Relation with wikidata
Line 11: Line 13:
 
== Ideas ==
 
== Ideas ==
 
* The languages taxonomy only accepts two letter language code. Support of more languages requires the introduction of three letter language codes (Cantonese), country variants (Brazilian Portuguese) or scripts support.
 
* The languages taxonomy only accepts two letter language code. Support of more languages requires the introduction of three letter language codes (Cantonese), country variants (Brazilian Portuguese) or scripts support.
 +
== Remark ==
 +
In some taxonomies you might see the language code '''XX''' and '''ZZ'''. These have a special meaning for parsing and are not related to a specific language.
 
[[Category:Language Taxonomy]]
 
[[Category:Language Taxonomy]]
[[Category:Taxonomies]]
+
[[Category:Global_Taxonomies]]

Latest revision as of 17:57, 18 December 2023

Introduction

The Languages taxonomy is one of the Taxonomies that form the basis of OFF. This taxonomy gives a list of all supported languages, their translations and short cuts (the language codes).

Language codes

ISO standards, basis for language codes

Implementation

The taxonomy currently in use is found on Github.

Wikidata

Relation with wikidata

Usage

Where is this taxonomy used?

Maintenance

Ideas

  • The languages taxonomy only accepts two letter language code. Support of more languages requires the introduction of three letter language codes (Cantonese), country variants (Brazilian Portuguese) or scripts support.

Remark

In some taxonomies you might see the language code XX and ZZ. These have a special meaning for parsing and are not related to a specific language.