Misplaced Pages

Template:ISO 639 name: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 20:11, 26 April 2009 view sourceMSGJ (talk | contribs)Autopatrolled, Administrators130,796 edits add a few more← Previous edit Revision as of 14:26, 28 April 2009 view source Xeno (talk | contribs)Autopatrolled, Bureaucrats, Administrators103,385 edits failure notice, feel free to rv or tweakNext edit →
Line 186: Line 186:
|zh|chi|zho=Chinese |zh|chi|zho=Chinese
|zu|zul=Zulu |zu|zul=Zulu
|#default=<font color="red">'''Language abbreviation not recognized by ]!'''</font>
}}<noinclude> }}<noinclude>
{{Documentation}} {{Documentation}}

Revision as of 14:26, 28 April 2009

Language abbreviation not recognized by template!

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 8,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
Language templates
Language names (ISO 639)
Interwiki links
Foreign-language text
Other

Usage

The {{ISO 639 name}} template is used to resolve ISO 639-1, ISO 639-2, ISO 639-3 and ISO 639-5 codes to language names. It will trim extraneous IETF language tags to just the ISO 639 code. E.g.: Sanskrit in Latin script, which IETF language tag is sa-Latn, renders as:

  • {{ISO 639 name|sa-Latn}}Language abbreviation not recognized by template!

The error message can be suppressed with |hide-err=yes:

  • {{ISO 639 name|sa-Latn|hide-err=yes}}Language abbreviation not recognized by template!

The rendered language name can be linked to the appropriate language article with |link=yes:

  • {{ISO 639 name|sa-Latn|hide-err=yes|link=yes}}Language abbreviation not recognized by template!

When linking, an alternate link label can be provided with |label=<label text>:

  • {{ISO 639 name|sa-Latn|hide-err=yes|link=yes|label=sa-Latn}}Language abbreviation not recognized by template!

The {{ISO 639 name link}} template is the same as {{ISO 639 name}} except that it presets |link=yes.

Both of these templates can be safely substituted.

Other functions

This template can be used to execute any of the functions exported by Module:ISO 639 name. These function are:

  • iso_639_code_exists – returns true if <code> is found in any of the ISO 639 data tables
  • iso_639_code_to_name – (default) as described above
  • iso_639_code_1_to_name – same as iso_639_code_to_name except constrained to the ISO 639-1 data table
  • iso_639_code_2_to_name – same as iso_639_code_to_name except constrained to the ISO 639-2 data table
  • iso_639_code_2B_to_name – same as iso_639_code_to_name except constrained to the ISO 639-2B data table
  • iso_639_code_3_to_name – same as iso_639_code_to_name except constrained to the ISO 639-3 data table
  • iso_639_code_5_to_name – same as iso_639_code_to_name except constrained to the ISO 639-5 data table
  • iso_639_name_exists – returns true if <name> is found in any of the ISO 639 data tables
  • iso_639_name_to_code – returns language code associated with <name>; may be constrained to a particular ISO 639 data table
  • iso_639 – returns language name when given a valid language code; returns a language code when given a valid language name; may be constrained to a particular ISO 639 data table

To use these functions set |fn= to the appropriate function name.

Language codes

ISO 639-1 codes and matching codes from ISO 639-2, -2B, and -3
ISO 639-1 ISO 639-2 ISO 639-2B ISO 639-3 Name Article
aa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Afar Afar
ab Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Abkhaz Abkhaz
ae Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Avestan Avestan
af Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Afrikaans Afrikaans
ak Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Akan Akan
am Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Amharic Amharic
an Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Aragonese Aragonese
ar Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Arabic Arabic
as Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Assamese Assamese
av Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Avar Avar
ay Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Aymara Aymara
az Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Azerbaijani Azerbaijani
ba Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bashkir Bashkir
be Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Belarusian Belarusian
bg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bulgarian Bulgarian
bh bih Bihari Bihari
bi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bislama Bislama
bm Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bambara Bambara
bn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bengali Bengali
bo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tibetan Tibetan
br Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Breton Breton
bs Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bosnian Bosnian
ca Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Catalan Catalan
ce Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Chechen Chechen
ch Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Chamorro Chamorro
co Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Corsican Corsican
cr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Cree Cree
cs Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Czech Czech
cu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Old Church Slavonic Old Church Slavonic
cv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Chuvash Chuvash
cy Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Welsh Welsh
da Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Danish Danish
de Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! German German
dv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Dhivehi Dhivehi
dz Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Dzongkha Dzongkha
ee Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Ewe Ewe
el ell gre Language abbreviation not recognized by template! Greek Greek
en Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! English English
eo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Esperanto Esperanto
es Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Spanish Spanish
et Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Estonian Estonian
eu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Basque Basque
fa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Persian Persian
ff Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Fula Fula
fi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Finnish Finnish
fj Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Fijian Fijian
fo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Faroese Faroese
fr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! French French
fy Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! West Frisian West Frisian
ga Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Irish Irish
gd Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Scottish Gaelic Scottish Gaelic
gl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Galician language Galician language
gn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Guaraní Guaraní
gu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Gujarati Gujarati
gv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Manx Manx
ha Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Hausa Hausa
he Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Hebrew Hebrew
hi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Hindi Hindi
ho Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Hiri Motu Hiri Motu
hr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Croatian Croatian
ht Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Haitian Creole Haitian Creole
hu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Hungarian Hungarian
hy Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Armenian Armenian
hz Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Herero Herero
ia Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Interlingua Interlingua
id Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Indonesian Indonesian
ie Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Interlingue Interlingue
ig Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Igbo Igbo
ii Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Yi Yi
ik Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Inupiaq Inupiaq
io Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Ido Ido
is Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Icelandic Icelandic
it Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Italian Italian
iu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Inuktitut Inuktitut
ja Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Japanese Japanese
jv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Javanese Javanese
ka Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Georgian Georgian
kg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kongo Kongo
ki Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Gikuyu Gikuyu
kj Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kwanyama Kwanyama
kk Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kazakh Kazakh
kl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kalaallisut Kalaallisut
km khm Language abbreviation not recognized by template! Language abbreviation not recognized by template! Khmer Khmer
kn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kannada Kannada
ko Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Korean Korean
kr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kanuri Kanuri
ks Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kashmiri Kashmiri
ku Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kurdish Kurdish
kv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Komi Komi
kw Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Cornish Cornish
ky Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kyrgyz Kyrgyz
la Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Latin Latin
lb Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Luxembourgish Luxembourgish
lg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Luganda Luganda
li Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Limburgish Limburgish
ln Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Lingala Lingala
lo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Lao Lao
lt Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Lithuanian Lithuanian
lu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tshiluba Tshiluba
lv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Latvian Latvian
mg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Malagasy Malagasy
mh Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Marshallese Marshallese
mi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Māori Māori
mk Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Macedonian Macedonian
ml Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Malayalam Malayalam
mn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Mongolian Mongolian
mr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Marathi Marathi
ms msa may Language abbreviation not recognized by template! Malay Malay
mt Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Maltese Maltese
my Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Burmese Burmese
na Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Nauruan Nauruan
nb Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Bokmål Bokmål
nd Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! North Ndebele North Ndebele
ne nep Language abbreviation not recognized by template! Language abbreviation not recognized by template! Nepali Nepali
ng Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Ndonga Ndonga
nl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Dutch Dutch
nn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Nynorsk Nynorsk
no Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Norwegian Norwegian
nr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Southern Ndebele Southern Ndebele
nv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Navajo Navajo
ny Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Chichewa Chichewa
oc Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Occitan Occitan
oj Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Anishinaabe Anishinaabe
om Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Oromo Oromo
or ori Language abbreviation not recognized by template! Language abbreviation not recognized by template! Oriya Oriya
os Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Ossetic Ossetic
pa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Punjabi Punjabi
pi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Pāli Pāli
pl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Polish Polish
ps Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Pashto Pashto
pt Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Portuguese Portuguese
qu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Quechua Quechua
rm Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Romansh Romansh
rn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kirundi Kirundi
ro Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Romanian Romanian
ru Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Russian Russian
rw Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Kinyarwanda Kinyarwanda
sa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sanskrit Sanskrit
sc Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sardinian Sardinian
sd Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sindhi Sindhi
se Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Northern Sami Northern Sami
sg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sango Sango
sh Language abbreviation not recognized by template! Language abbreviation not recognized by template! Serbo-Croatian Serbo-Croatian
si Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sinhala Sinhala
sk Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Slovak Slovak
sl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Slovenian Slovenian
sm Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Samoan Samoan
sn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Shona Shona
so Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Somali Somali
sq Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Albanian Albanian
sr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Serbian Serbian
ss Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Swati Swati
st sot Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sotho Sotho
su Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Sundanese Sundanese
sv Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Swedish Swedish
sw swa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Swahili Swahili
ta Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tamil Tamil
te Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Telugu Telugu
tg Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tajik Tajik
th Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Thai Thai
ti Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tigrinya Tigrinya
tk Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Turkmen Turkmen
tl Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tagalog Tagalog
tn Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tswana Tswana
to Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tongan Tongan
tr Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Turkish Turkish
ts Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tsonga Tsonga
tt Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tatar Tatar
tw Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Twi Twi
ty Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Tahitian Tahitian
ug Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Uyghur Uyghur
uk Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Ukrainian Ukrainian
ur Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Urdu Urdu
uz Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Uzbek Uzbek
ve Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Venda Venda
vi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Vietnamese Vietnamese
vo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Volapük Volapük
wa Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Walloon Walloon
wo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Wolof Wolof
xh Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Xhosa Xhosa
yi Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Yiddish Yiddish
yo Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Yoruba Yoruba
za Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Zhuang Zhuang
zh Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Chinese Chinese
zu Language abbreviation not recognized by template! Language abbreviation not recognized by template! Language abbreviation not recognized by template! Zulu Zulu

Notes

  1. There are only 20 ISO 639-2B codes.
  2. ^ Code not assigned.

Examples

  • {{ISO 639 name|en}} gives English
  • {{ISO 639 name|fr}} gives French

Error messages

This template produces error messages. These messages are:

  • <code> is an IETF tag – IETF language tags are not ISO 639 language codes. When these tags are encountered, the template attempts to render the correct language and also emits this error message
  • ISO 639-<part> code is required – where <part> is 1, 2, 3, 5; template was called without the required language code
  • <code> is not an ISO 639-<part> code – <code> fails simple length validation; 639 part 1, language codes are two characters, for 639 parts 2, 3, and 5, language codes are three characters
  • <code> not found in ISO 639-<part> list – <code> not found after searching ISO 639-<part> data

The module that does the work for this template has other functionality not supported by this template. See Module:ISO 639 name. Error messages related to that other functionality are:

  • language name required – module function iso_639_name_to_code() only – this message emitted when a language name is not provided in the {{#invoke:}}
  • <part> not an ISO 639 part – module functions iso_639_name_to_code() and iso_639() only – this message emitted when <part> is not one of 1, 2, 3, or 5
  • language code or name required – module function iso_639() only – this message emitted when a language name or a language code is not provided in the {{#invoke:}}

Tracking categories

See also

The above documentation is transcluded from Template:ISO 639 name/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: