Template:Language

From Wikibooks, open books for an open world
Jump to: navigation, search

{{Language/{{{2}}}|{{{1}}}}}

Template documentation[edit] [history] [purge]

This template will determine the name of a language from its IETF language code or ISO 6391 code. The name will be given in English by default, or in the language that is specified in the second parameter. The second parameter should also be specified using a language code. If parameter two is set to a language other than English the name will be wrapped in the {{lang}} template.

Usage[edit]


{{language|en}} → {{Language/{{{2}}}|en}}

{{language|fr|es}} → francés

{{language|ar|zh}} → 阿拉伯文

See also[edit]