Template:Language name/en: Difference between revisions
(Giving gsw a different tag than de-ch) |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>This template was generated by taking the list of Valve Developer Community's languages from its API, and cross referencing it with MediaWiki's more up to date API to match each language with a BCP-47 tag | <noinclude>This template was generated by taking the list of Valve Developer Community's languages from its API, and cross referencing it with MediaWiki's more up to date API to match each language with a BCP-47 tag. | ||
IANA's assignments of region + language codes and ISO 15924's assignments of codes for writing systems were then used to give each tag a name in English. | |||
IANA's redundant assignments were used to categorize variants of Chinese. The descriptors "Traditional" or "Simplified" were removed from national variants. | |||
zh-my is simply "Malaysian Chinese" because the standard does not give it a redundant tag like zh-hk, so it must be parsed as a language name and country, similar to en-ca | zh-my is simply "Malaysian Chinese" because the standard does not give it a redundant tag like zh-hk, so it must be parsed as a language name and country, similar to en-ca | ||
Akan was added manually, because MediaWiki's API did not mention it, likely due to it being split into several languages. | Akan was added manually, because MediaWiki's API did not mention it, likely due to it being split into several languages. | ||
de-ch was changed from "Swiss German" to "Swiss High German" (the literal translation of <nowiki>{{#language:de-ch}}</nowiki>) to differentiate it from als and gsw, which are for Swiss German, the dialect of Alemannic. | |||
Other small edits were made to language names, such as removing the date range from Old English. | Other small edits were made to language names, such as removing the date range from Old English. | ||
Line 99: | Line 104: | ||
|de = German | |de = German | ||
|de-at = Austrian German | |de-at = Austrian German | ||
|de-ch = Swiss German | |de-ch = Swiss High German | ||
|de-formal = German (formal) | |de-formal = German (formal) | ||
|din = Dinka | |din = Dinka | ||
Line 150: | Line 155: | ||
|got = Gothic | |got = Gothic | ||
|grc = Ancient Greek | |grc = Ancient Greek | ||
|gsw = | |gsw = Swiss German | ||
|gu = Gujarati | |gu = Gujarati | ||
|gv = Manx | |gv = Manx |
Revision as of 14:54, 5 March 2024
This template was generated by taking the list of Valve Developer Community's languages from its API, and cross referencing it with MediaWiki's more up to date API to match each language with a BCP-47 tag. IANA's assignments of region + language codes and ISO 15924's assignments of codes for writing systems were then used to give each tag a name in English.
IANA's redundant assignments were used to categorize variants of Chinese. The descriptors "Traditional" or "Simplified" were removed from national variants.
zh-my is simply "Malaysian Chinese" because the standard does not give it a redundant tag like zh-hk, so it must be parsed as a language name and country, similar to en-ca
Akan was added manually, because MediaWiki's API did not mention it, likely due to it being split into several languages.
de-ch was changed from "Swiss German" to "Swiss High German" (the literal translation of {{#language:de-ch}}) to differentiate it from als and gsw, which are for Swiss German, the dialect of Alemannic.
Other small edits were made to language names, such as removing the date range from Old English.