Template:Language name/en: Difference between revisions
Tag: Undo |
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, then using IANA's assignments of region + language codes and ISO 15924's assignments of codes for writing systems to give it a name in English. IANA's redundant assignments were used to categorize variants of Chinese | <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, then using IANA's assignments of region + language codes and ISO 15924's assignments of codes for writing systems to give it 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, and it was manually specified whether a variant was Mandarin or not. | ||
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 | ||
Line 135: | Line 135: | ||
|gag = Gagauz | |gag = Gagauz | ||
|gan = Gan Chinese | |gan = Gan Chinese | ||
|gan-hans = Gan Chinese | |gan-hans = Siplified Gan Chinese | ||
|gan-hant = Gan Chinese | |gan-hant = Traditional Gan Chinese | ||
|gcr = Guianese Creole French | |gcr = Guianese Creole French | ||
|gd = Scottish Gaelic | |gd = Scottish Gaelic | ||
Line 435: | Line 435: | ||
|zh-classical = Literary Chinese | |zh-classical = Literary Chinese | ||
|zh-cn = Chinese (Mainland China) | |zh-cn = Chinese (Mainland China) | ||
|zh-hans = Chinese | |zh-hans = Simplified Chinese | ||
|zh-hant = Chinese | |zh-hant = Traditional Chinese | ||
|zh-hk = Hong Kong Chinese | |zh-hk = Hong Kong Chinese | ||
|zh-min-nan = Min Nan Chinese | |zh-min-nan = Min Nan Chinese | ||
|zh-mo = Macao Chinese | |zh-mo = Macao Chinese | ||
|zh-my = Malaysian Chinese | |zh-my = Malaysian Chinese | ||
|zh-sg = Singaporean Chinese | |zh-sg = Singaporean Chinese | ||
|zh-tw = Taiwanese Mandarin | |zh-tw = Taiwanese Mandarin | ||
|zh-yue = Cantonese | |zh-yue = Cantonese | ||
|zu = Zulu | |zu = Zulu | ||
}}<noinclude>[[Category:language name translations]]</noinclude> | }}<noinclude>[[Category:language name translations]]</noinclude> |
Revision as of 15:11, 19 January 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, then using IANA's assignments of region + language codes and ISO 15924's assignments of codes for writing systems to give it 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, and it was manually specified whether a variant was Mandarin or not.
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.