Template:Language name/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
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.


Other small edits were made to language names, such as changing "Taiwanese Chinese" to "Taiwanese Mandarin"
Other small edits were made to language names, such as changing "Haitian" to "Haitian Creole"


[https://developer.valvesoftware.com/w/api.php?action=query&meta=siteinfo&siprop=languages VDC API result]
[https://developer.valvesoftware.com/w/api.php?action=query&meta=siteinfo&siprop=languages VDC API result]
Line 165: Line 165:
|hrx = Hunsrik
|hrx = Hunsrik
|hsb = Upper Sorbian
|hsb = Upper Sorbian
|ht = Haitian
|ht = Haitian Creole
|hu = Hungarian
|hu = Hungarian
|hu-formal = Hungarian (formal)
|hu-formal = Hungarian (formal)

Revision as of 14:25, 15 February 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.

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.

Other small edits were made to language names, such as changing "Haitian" to "Haitian Creole"

VDC API result

MediaWiki API result

IANA language and region tags

ISO 15294