Template:Language name/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Protected "Template:Language name/en": High traffic page: used by Template:LanguageBar ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
No edit summary
Line 1: Line 1:
<noinclude>{{doc|content=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>{{update|This template was generated when VDC was on an older version of MediaWiki. The current version supports more languages.}}{{doc|content=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 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.



Revision as of 14:29, 29 November 2024

Broom icon.png
This article or section needs to be updated to include current information regarding the subject because:
This template was generated when VDC was on an older version of MediaWiki. The current version supports more languages.
Remember to check for any notes left by the tagger at this article's talk page.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:Language name/en/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

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 (only those using the tag zh, not others such as gan-hans). 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.


The full[confirm] list of changes from this base are as follows:

  • 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.
  • diq was changed from "Dimli (individual language)" to "Dimli". Similarly, kiu was changed from "Kirmanjki (individual language)" to "Kirmanjki".
  • to was changed from "Tonga (Tonga Islands)" to "Tongan" (there is no ambiguity in this; the Bantu languages known as "Tonga" are never referred to as "Tongan").
  • war was changed from "Waray (Philippines)" to "Waray".
  • zh-tw was changed from "Taiwanese Chinese" to "Taiwanese Mandarin".
  • Akan was added manually, because MediaWiki's API did not mention it, due to it being split into several languages.
  • The date ranges for Old English, Imperial Aramaic, and Ancient Greek were removed.


VDC API result

MediaWiki.org API result

IANA language and region tags

ISO 15294