Help
Difference between revisions of "Langtags"
Lingua Libre uses nor ISO 639-3 nor BCP47 but Wikidata Qids as internal identifier for a language. Currently, ISO 639-3 codes are used in two cases:
• For the name of pages containing lists in the list namespace;
• To forge Wikimedia Commons's category names
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | Lingua Libre uses nor ISO 639-3 nor BCP47 but '''Wikidata Qids''' as internal identifier for a language. Currently, | + | <languages/> |
− | + | {{#SUBTITLE:<translate><!--T:1--> | |
− | + | Lingua Libre uses nor ISO 639-3 nor BCP47 but '''Wikidata Qids''' as internal identifier for a language. Currently, ISO 639-3 codes are used in two cases: | |
− | + | <br>• For the name of pages containing lists in the list namespace; | |
− | == Current languages coverage == | + | <br>• To forge Wikimedia Commons's category names</translate> |
+ | }} | ||
+ | <translate> | ||
+ | == Current languages coverage == <!--T:2--> | ||
+ | </translate> | ||
<br clear="all"> | <br clear="all"> | ||
</noinclude> | </noinclude> | ||
− | <query _pagination="20" languageLabel="English" WD="Wikidata Qid" language="LL item" isoCode="ISO 639-3" count="Records count"> | + | <query _pagination="20" languageLabel="<translate><!--T:3--> English</translate>" WD="<translate><!--T:4--> Wikidata Qid</translate>" language="<translate><!--T:5--> LL item</translate>" isoCode="<translate><!--T:6--> ISO 639-3</translate>" count="<translate><!--T:7--> Records count</translate>"> |
select ?languageLabel ?WD ?language ?isoCode (COUNT(?record) AS ?count) | select ?languageLabel ?WD ?language ?isoCode (COUNT(?record) AS ?count) | ||
where { | where { | ||
Line 20: | Line 24: | ||
</query> | </query> | ||
<noinclude> | <noinclude> | ||
− | == Switching to other code ? == | + | <translate> |
+ | == Switching to other code ? == <!--T:8--> | ||
+ | |||
+ | <!--T:9--> | ||
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: | ||
* Add a new property BCP47 locally as you suggested (a bot can import them from Wikidata); | * Add a new property BCP47 locally as you suggested (a bot can import them from Wikidata); | ||
Line 26: | Line 33: | ||
* Rename all existing Wikimedia Commons categories and move all the audio recordings (a bot there is required); | * Rename all existing Wikimedia Commons categories and move all the audio recordings (a bot there is required); | ||
− | == Other notable codes == | + | == Other notable codes == <!--T:10--> |
+ | |||
+ | <!--T:11--> | ||
* [[:en:BCP47|BCP47]] - prefered langtag in computational fields | * [[:en:BCP47|BCP47]] - prefered langtag in computational fields | ||
* [[:en:ISO 639-3|ISO 639-3]] - most known langtag online | * [[:en:ISO 639-3|ISO 639-3]] - most known langtag online | ||
Line 32: | Line 41: | ||
* [[:en:Glottolog|Glottolog]] codes | * [[:en:Glottolog|Glottolog]] codes | ||
− | == See also == | + | == See also == <!--T:12--> |
− | * [[LinguaLibre:Language codes systems used across LinguaLibre]] | + | |
+ | <!--T:13--> | ||
+ | * [[<tvar|1>Special:MyLanguage/LinguaLibre:Language codes systems used across LinguaLibre</>|LinguaLibre:Language codes systems used across LinguaLibre]] | ||
* [[:en:Language code#Common_schemes|Language code]] (en) | * [[:en:Language code#Common_schemes|Language code]] (en) | ||
− | * [[:meta:Language codes|Language codes]] (meta) | + | * [[<tvar|3>:meta:Special:MyLanguage/Language codes</>|Language codes]] (meta) |
− | * [[Help:Create your own lists]] and [[Help:Lists]] | + | * [[<tvar|4>Special:MyLanguage/Help:Create your own lists</>|Help:Create your own lists]] and [[<tvar|5>Special:MyLanguage/Help:Lists</>|Help:Lists]]</translate> |
− | + | {{Helps}} | |
</noinclude> | </noinclude> |
Latest revision as of 05:46, 20 September 2022
Current languages coverage
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:
- Add a new property BCP47 locally as you suggested (a bot can import them from Wikidata);
- Rename all local lists (can be made by hand, we don't have many lists for now on);
- Rename all existing Wikimedia Commons categories and move all the audio recordings (a bot there is required);
Other notable codes
- BCP47 - prefered langtag in computational fields
- ISO 639-3 - most known langtag online
- Ethnologue / SIL codes (10th–14th editions)
- Glottolog codes
See also
- LinguaLibre:Language codes systems used across LinguaLibre
- Language code (en)
- Language codes (meta)
- Help:Create your own lists and Help:Lists