Difference between revisions of "Languages taxonomy"

From Open Food Facts wiki
Jump to navigation Jump to search
(created)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
** Introduction **
+
== Introduction ==
** Language codes **
+
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).
ISO standards
+
== Language codes ==
** Wikidata **
+
ISO standards, basis for language codes
** Ideas **
+
== Implementation ==
 +
The taxonomy currently in use is found on [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/taxonomies/languages.txt 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.
 
* 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.