Changes

Jump to navigation Jump to search
129 bytes added ,  08:17, 19 December 2023
Line 5: Line 5:     
== Country codes ==
 
== Country codes ==
[https://www.iso.org/iso-3166-country-codes.html ISO 3166] standard is used for the country codes.
+
[https://www.iso.org/iso-3166-country-codes.html ISO 3166] standard is used for the country codes.
 +
 
 +
And on [https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes Wikipedia].
    
== Implementation ==
 
== Implementation ==
 
The taxonomy currently in use is found on [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/taxonomies/countries.txt Github].
 
The taxonomy currently in use is found on [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/taxonomies/countries.txt Github].
 
== Attributes ==
 
== Attributes ==
* Wikidata - Each country has a link to wikidata, like: <nowiki>wikidata:en:Q31</nowiki>
+
Each entry (country) can be accompanied by range of attributes:
* Languages - A list of official [[Languages taxonomy|languages]] in preferred order, like  <nowiki>language_codes:en:nl,fr,de</nowiki>
+
* Wikidata - Each country has a link to wikidata, like: '''wikidata:en:Q31'''
* ISO two-letter country codes, like <nowiki>country_code_2:en:BE</nowiki>
+
* Languages - A list of official [[Languages taxonomy|languages]] in preferred order, like  '''language_codes:en:nl,fr,de'''
* ISO three-letter country codes, like <nowiki>country_code_3:en:BEL</nowiki>
+
* ISO two-letter country codes, like '''country_code_2:en:BE'''
 +
* ISO three-letter country codes, like '''country_code_3:en:BEL'''
    
== Usage ==
 
== Usage ==
 
Where is this taxonomy used?
 
Where is this taxonomy used?
 
== Maintenance ==
 
== Maintenance ==
 
+
Which changes are allowed?
 
[[Category:Language Taxonomy]]
 
[[Category:Language Taxonomy]]
 
[[Category:Global_Taxonomies]]
 
[[Category:Global_Taxonomies]]
3,393

edits

Navigation menu