Template:Language name/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(I've already changed its name enough times)
 
(8 intermediate revisions by the same user not shown)
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>{{doc|content=This template was generated by taking the list of Valve Developer Community's languages and their corresponding BCP-47 tags from its API. 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.


IANA's redundant assignments were used to categorize variants of languages when applicable, though some were edited to be more concise.


IANA's redundant assignments were used to categorize variants of Chinese (only those using the tag {{code|zh}}, not others such as {{code|gan-hans}}). The descriptors "traditional" or "simplified" were removed from national variants.  
Notes about language codes mentioned at https://meta.wikimedia.org/wiki/Special_language_codes were taken into account and the codes were edited correspondingly.


{{code|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 {{code|en-ca}}
{{code|zh-tw}} should be Taiwan Chinese, but was left as Taiwanese Mandarin for backwards compatibility.


The full list of changes from this base are as follows:
{{code|de-ch}} was changed from "Swiss German" to "Swiss High German" (the literal translation of <nowiki>{{#language:de-ch}}</nowiki>) to differentiate it from {{code|gsw}}, which is for Swiss German, the dialect of Alemannic.


{{code|de-ch}} was changed from "Swiss German" to "Swiss High German" (the literal translation of <nowiki>{{#language:de-ch}}</nowiki>) to differentiate it from {{code|als}} and {{code|gsw}}, which are for Swiss German, the dialect of Alemannic.
{{code|diq}} was changed from "Dimli (individual language)" to "Dimli". Similarly, {{code|kiu}} was changed from "Kirmanjki (individual language)" to "Kirmanjki".


{{code|diq}} was changed from "Dimli (individual language)" to "Dimli". Similarly, {{code|kiu}} was changed from "Kirmanjki (individual language)" to "Kirmanjki".
{{code|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").


{{code|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".)
The desctiptor (macrolanguage) was removed from language names (such as Malay).


{{code|war}} was changed from "Waray (Philippines)" to "Waray".
{{code|war}} was changed from "Waray (Philippines)" to "Waray".
{{code|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.
The date ranges for Old English, Imperial Aramaic, and Ancient Greek were removed.
Line 25: Line 21:


[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]
[https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=languages MediaWiki.org API result]


[https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA language and region tags]
[https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA language and region tags]
Line 35: Line 29:
|aa = Afar
|aa = Afar
|ab = Abkhazian
|ab = Abkhazian
|abs = Ambonese Malay
|ace = Achinese
|ace = Achinese
|ady = Adyghe
|ady = Adyghe
Line 44: Line 39:
|ak = Akan
|ak = Akan
|aln = Gheg Albanian
|aln = Gheg Albanian
|als = Swiss German
|als = Allemanic
|alt = Southern Altai
|am = Amharic
|am = Amharic
|ami = Amis
|an = Aragonese
|an = Aragonese
|ang = Old English
|ang = Old English
Line 67: Line 64:
|ba = Bashkir
|ba = Bashkir
|ban = Balinese
|ban = Balinese
|ban-bali = Balinese (Balinese)
|bar = Bavarian
|bar = Bavarian
|bat-smg = Samogitian
|bat-smg = Samogitian
Line 72: Line 70:
|bbc-latn = Batak Toba (Latin)
|bbc-latn = Batak Toba (Latin)
|bcc = Southern Balochi
|bcc = Southern Balochi
|bci = Baoulé
|bcl = Central Bikol
|bcl = Central Bikol
|be = Belarusian
|be = Belarusian
Line 82: Line 81:
|bi = Bislama
|bi = Bislama
|bjn = Banjar
|bjn = Banjar
|blk = Pa'o Karen
|bm = Bambara
|bm = Bambara
|bn = Bengali
|bn = Bengali
Line 90: Line 90:
|brh = Brahui
|brh = Brahui
|bs = Bosnian
|bs = Bosnian
|btm = Batak Mandailing
|bto = Rinconada Bikol
|bto = Rinconada Bikol
|bug = Buginese
|bug = Buginese
|bxr = Russian Buriat
|bxr = Russia Buriat
|ca = Catalan
|ca = Catalan
|cbk-zam = Chavacano
|cbk-zam = Chavacano de Zamboanga
|cdo = Min Dong Chinese
|cdo = Min Dong Chinese
|ce = Chechen
|ce = Chechen
Line 115: Line 116:
|cy = Welsh
|cy = Welsh
|da = Danish
|da = Danish
|dag = Dagbani
|de = German
|de = German
|de-at = Austrian German
|de-at = Austrian German
Line 129: Line 131:
|egl = Emilian
|egl = Emilian
|el = Greek
|el = Greek
|eml = Emilian
|eml = Emilian-Romagnol
|en = English
|en = English
|en-ca = Canadian English
|en-ca = Canadian English
Line 135: Line 137:
|eo = Esperanto
|eo = Esperanto
|es = Spanish
|es = Spanish
|es-419 = Latin American Spanish
|es-formal = Spanish (formal)
|es-formal = Spanish (formal)
|et = Estonian
|et = Estonian
Line 140: Line 143:
|ext = Extremaduran
|ext = Extremaduran
|fa = Persian
|fa = Persian
|fat = Fanti
|ff = Fulah
|ff = Fulah
|fi = Finnish
|fi = Finnish
Line 146: Line 150:
|fj = Fijian
|fj = Fijian
|fo = Faroese
|fo = Faroese
|fon = Fon
|fr = French
|fr = French
|frc = Cajun French
|frc = Cajun French
Line 153: Line 158:
|fy = Western Frisian
|fy = Western Frisian
|ga = Irish
|ga = Irish
|gaa = Ga
|gag = Gagauz
|gag = Gagauz
|gan = Gan Chinese
|gan = Gan Chinese
|gan-hans = simplified Gan Chinese
|gan-hans = Gan Chinese (Simplified)
|gan-hant = traditional Gan Chinese
|gan-hant = Gan Chinese (Traditional)
|gcr = Guianese Creole French
|gcr = Guianese Creole French
|gd = Scottish Gaelic
|gd = Scottish Gaelic
|gl = Galician
|gl = Galician
|gld = Nanai
|glk = Gilaki
|glk = Gilaki
|gn = Guarani
|gn = Guarani
Line 167: Line 174:
|gor = Gorontalo
|gor = Gorontalo
|got = Gothic
|got = Gothic
|gpe = Ghanaian Pidgin English
|grc = Ancient Greek
|grc = Ancient Greek
|gsw = Swiss German
|gsw = Swiss German
|gu = Gujarati
|gu = Gujarati
|guc = Wayuu
|gur = Farefare
|guw = Gun
|gv = Manx
|gv = Manx
|ha = Hausa
|ha = Hausa
Line 183: Line 194:
|hrx = Hunsrik
|hrx = Hunsrik
|hsb = Upper Sorbian
|hsb = Upper Sorbian
|hsn = Xiang Chinese
|ht = Haitian
|ht = Haitian
|hu = Hungarian
|hu = Hungarian
|hu-formal = Hungarian (formal)
|hu-formal = Hungarian (formal)
|hy = Armenian
|hy = Armenian
|hyw = Western Armenian
|hz = Herero
|hz = Herero
|ia = Interlingua
|ia = Interlingua (International Auxiliary Language Association)
|id = Indonesian
|id = Indonesian
|ie = Interlingue
|ie = Interlingue
Line 213: Line 226:
|kbd-cyrl = Kabardian (Cyrillic)
|kbd-cyrl = Kabardian (Cyrillic)
|kbp = Kabiyè
|kbp = Kabiyè
|kcg = Tyap
|kea = Kabuverdianu
|kg = Kongo
|kg = Kongo
|khw = Khowar
|khw = Khowar
Line 218: Line 233:
|kiu = Kirmanjki
|kiu = Kirmanjki
|kj = Kuanyama
|kj = Kuanyama
|kjp = Pwo Eastern Karen
|kk = Kazakh
|kk = Kazakh
|kk-arab = Kazakh (Arabic)
|kk-arab = Kazakh (Arabic)
Line 239: Line 255:
|ks-arab = Kashmiri (Arabic)
|ks-arab = Kashmiri (Arabic)
|ks-deva = Kashmiri (Devanagari)
|ks-deva = Kashmiri (Devanagari)
|ksh = Kölsch
|ksh = Ripuarian
|ksw = S'gaw Karen
|ku = Kurdish
|ku = Kurdish
|ku-arab = Kurdish (Arabic)
|ku-arab = Kurdish (Arabic)
Line 258: Line 275:
|liv = Liv
|liv = Liv
|lki = Laki
|lki = Laki
|lld = Ladin
|lmo = Lombard
|lmo = Lombard
|ln = Lingala
|ln = Lingala
Line 270: Line 288:
|lzh = Literary Chinese
|lzh = Literary Chinese
|lzz = Laz
|lzz = Laz
|mad = Madurese
|mai = Maithili
|mai = Maithili
|map-bms = Banyumasan
|map-bms = Banyumasan
Line 281: Line 300:
|ml = Malayalam
|ml = Malayalam
|mn = Mongolian
|mn = Mongolian
|mni = Manipuri
|mnw = Mon
|mo = Moldovan Romanian
|mo = Moldovan Romanian
|mos = Mossi
|mr = Marathi
|mr = Marathi
|mrh = Mara Chin
|mrj = Western Mari
|mrj = Western Mari
|ms = Malay
|ms = Malay
|ms-arab = Malay (Arabic)
|mt = Maltese
|mt = Maltese
|mus = Creek
|mus = Creek
Line 297: Line 321:
|nb = Norwegian Bokmål
|nb = Norwegian Bokmål
|nds = Low German
|nds = Low German
|nds-nl = Netherlands Low German
|nds-nl = Dutch Low Saxon
|ne = Nepali
|ne = Nepali
|new = Newari
|new = Newari
|ng = Ndonga
|ng = Ndonga
|nia = Nias
|niu = Niuean
|niu = Niuean
|nl = Dutch
|nl = Dutch
|nl-informal = Dutch (informal)
|nl-informal = Dutch (informal)
|nmz = Nawdm
|nn = Norwegian Nynorsk
|nn = Norwegian Nynorsk
|no = Norwegian
|no = Norwegian
|nod = Northern Thai
|nov = Novial
|nov = Novial
|nrm = Jèrriais
|nqo = N'Ko
|nrm = Norman
|nso = Pedi
|nso = Pedi
|nv = Navajo
|nv = Navajo
|ny = Nyanja
|ny = Nyanja
|nyn = Nyankole
|nys = Nyungar
|nys = Nyungar
|oc = Occitan
|oc = Occitan
|ojb = Northwestern Ojibwa
|olo = Livvi
|olo = Livvi
|om = Oromo
|om = Oromo
Line 322: Line 352:
|pap = Papiamento
|pap = Papiamento
|pcd = Picard
|pcd = Picard
|pcm = Nigerian Pidgin
|pdc = Pennsylvania German
|pdc = Pennsylvania German
|pdt = Plautdietsch
|pdt = Plautdietsch
Line 335: Line 366:
|pt = Portuguese
|pt = Portuguese
|pt-br = Brazilian Portuguese
|pt-br = Brazilian Portuguese
|pwn = Paiwan
|qu = Quechua
|qu = Quechua
|qug = Chimborazo Highland Quichua
|qug = Chimborazo Highland Quichua
Line 340: Line 372:
|rif = Tarifit
|rif = Tarifit
|rm = Romansh
|rm = Romansh
|rmc = Carpathian Romani
|rmy = Vlax Romani
|rmy = Vlax Romani
|rn = Rundi
|rn = Rundi
Line 345: Line 378:
|roa-rup = Macedo-Romanian
|roa-rup = Macedo-Romanian
|roa-tara = Tarantino
|roa-tara = Tarantino
|rsk = Ruthenian
|ru = Russian
|ru = Russian
|rue = Rusyn
|rue = Rusyn
Line 352: Line 386:
|ruq-latn = Megleno Romanian (Latin)
|ruq-latn = Megleno Romanian (Latin)
|rw = Kinyarwanda
|rw = Kinyarwanda
|ryu = Central Okinawan
|sa = Sanskrit
|sa = Sanskrit
|sah = Yakut
|sah = Yakut
Line 362: Line 397:
|sdh = Southern Kurdish
|sdh = Southern Kurdish
|se = Northern Sami
|se = Northern Sami
|se-fi = Finnish Northern Sami
|se-no = Norwegian Northern Sami
|se-se = Swedish Northern Sami
|sei = Seri
|sei = Seri
|ses = Koyraboro Senni Songhai
|ses = Koyraboro Senni Songhai
Line 371: Line 409:
|shi-tfng = Tachelhit (Tifinagh)
|shi-tfng = Tachelhit (Tifinagh)
|shn = Shan
|shn = Shan
|shy = Tachawit
|shy-latn = Tachawit (Latin)
|si = Sinhala
|si = Sinhala
|simple = simple English
|simple = Simple English
|sjd = Kildin Sami
|sje = Pite Sami
|sk = Slovak
|sk = Slovak
|skr = Saraiki
|skr = Saraiki
Line 380: Line 422:
|sm = Samoan
|sm = Samoan
|sma = Southern Sami
|sma = Southern Sami
|smn = Inari Sami
|sms = Skolt Sami
|sn = Shona
|sn = Shona
|so = Somali
|so = Somali
Line 387: Line 431:
|sr-el = Serbian (Latin)
|sr-el = Serbian (Latin)
|srn = Sranan Tongo
|srn = Sranan Tongo
|sro = Campidanese Sardinian
|ss = Swati
|ss = Swati
|st = Southern Sotho
|st = Southern Sotho
Line 394: Line 439:
|sv = Swedish
|sv = Swedish
|sw = Swahili
|sw = Swahili
|syl = Sylheti
|szl = Silesian
|szl = Silesian
|szy = Sakizaya
|ta = Tamil
|ta = Tamil
|tay = Atayal
|tay = Atayal
|tcy = Tulu
|tcy = Tulu
|tdd = Tai Nüa
|te = Telugu
|te = Telugu
|tet = Tetum
|tet = Tetum
Line 408: Line 456:
|tl = Tagalog
|tl = Tagalog
|tly = Talysh
|tly = Talysh
|tly-cyrl = Talysh (Cyrillic)
|tn = Tswana
|tn = Tswana
|to = Tongan
|to = Tongan
Line 413: Line 462:
|tr = Turkish
|tr = Turkish
|tru = Turoyo
|tru = Turoyo
|trv = Sediq
|ts = Tsonga
|ts = Tsonga
|tt = Tatar
|tt = Tatar
Line 437: Line 487:
|vls = Vlaams
|vls = Vlaams
|vmf = Mainfränkisch
|vmf = Mainfränkisch
|vmw = Makhuwa
|vo = Volapük
|vo = Volapük
|vot = Votic
|vot = Votic
Line 442: Line 493:
|wa = Walloon
|wa = Walloon
|war = Waray
|war = Waray
|wls = Wallisian
|wo = Wolof
|wo = Wolof
|wuu = Wu Chinese
|wuu = Wu Chinese
Line 447: Line 499:
|xh = Xhosa
|xh = Xhosa
|xmf = Mingrelian
|xmf = Mingrelian
|xsy = Saisiyat
|yi = Yiddish
|yi = Yiddish
|yo = Yoruba
|yo = Yoruba
|yrl = Nhengatu
|yue = Yue Chinese
|yue = Yue Chinese
|za = Zhuang
|za = Zhuang
|zea = Zeeuws
|zea = Zeeuws
|zgh = Standard Moroccan Tamazight
|zh = Chinese
|zh = Chinese
|zh-classical = Literary Chinese
|zh-classical = Classical Chinese
|zh-cn = Chinese (Mainland China)
|zh-cn = PRC Mainland Chinese
|zh-hans = simplified Chinese
|zh-hans = simplified Chinese
|zh-hant = traditional 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 = Singapore 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>

Latest revision as of 10:42, 12 December 2024

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 and their corresponding BCP-47 tags from its API. 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 languages when applicable, though some were edited to be more concise.

Notes about language codes mentioned at https://meta.wikimedia.org/wiki/Special_language_codes were taken into account and the codes were edited correspondingly.

zh-tw should be Taiwan Chinese, but was left as Taiwanese Mandarin for backwards compatibility.

de-ch was changed from "Swiss German" to "Swiss High German" (the literal translation of {{#language:de-ch}}) to differentiate it from gsw, which is 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").

The desctiptor (macrolanguage) was removed from language names (such as Malay).

war was changed from "Waray (Philippines)" to "Waray".

The date ranges for Old English, Imperial Aramaic, and Ancient Greek were removed.


VDC API result

IANA language and region tags

ISO 15294