Template:Language name/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Documented how this was generated)
Line 1: Line 1:
{{#switch:{{{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. Unfortunately, English is the only language that all of these standards are in, so they cannot also be automatically translated into other languages with this method.
 
[https://developer.valvesoftware.com/w/api.php?action=query&meta=siteinfo&siprop=languages VDC API result]
 
[https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=languages MediaWiki API result]
 
[https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA language and region tags]
 
[https://www.unicode.org/iso15924/iso15924-codes.html ISO 15294]
</noinclude>{{#switch:{{{1}}}
|aa = Afar
|aa = Afar
|ab = Abkhazian
|ab = Abkhazian

Revision as of 11:06, 2 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. Unfortunately, English is the only language that all of these standards are in, so they cannot also be automatically translated into other languages with this method.

VDC API result

MediaWiki API result

IANA language and region tags

ISO 15294