Help

Difference between revisions of "Langtags"

Line 5: Line 5:
 
== Current languages coverage ==
 
== Current languages coverage ==
 
<br clear="all">
 
<br clear="all">
 +
<includeonly>
 
<query _pagination="20" languageLabel="English" WD="Wikidata Qid" language="LL item" isoCode="ISO 639-3" count="Records count">
 
<query _pagination="20" languageLabel="English" WD="Wikidata Qid" language="LL item" isoCode="ISO 639-3" count="Records count">
 
select ?languageLabel ?WD ?language ?isoCode (COUNT(?record) AS ?count)
 
select ?languageLabel ?WD ?language ?isoCode (COUNT(?record) AS ?count)
Line 17: Line 18:
 
ORDER BY DESC(?count)
 
ORDER BY DESC(?count)
 
</query>
 
</query>
 
+
<includeonly>
 
== Switching to other code ? ==
 
== Switching to other code ? ==
 
Changing the code would affect only those two parts of the process. If we switch from one language tag to an other, we would have to:
 
Changing the code would affect only those two parts of the process. If we switch from one language tag to an other, we would have to:

Revision as of 10:38, 28 January 2019

Lingua Libre uses nor ISO 639-3 nor BCP47 but Wikidata Qids as internal identifier for a language. Currently, ISO639-3 codes are used in two cases:

  • For the name of pages containing lists in the list namespace (in the format List:ISO/List name, with ISO the iso6369-3 code);
  • To forge Wikimedia Commons's category names

Current languages coverage