Template:Lang code to en/doc

From Angelina Jordan Wiki
Revision as of 05:15, 1 January 2021 by Dcljr (talk | contribs) (doc created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a subpage documenting Template:Lang code to en. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template translates 2- and 3-letter ISO language codes into the language names in English. (There is actually a MediaWiki extension that does this, but it is not installed here.)

If no language code is specified, or the specified code is not supported, the template complains loudly, as seen in the examples below.

Usage

  • {{lang code to en|code}}

code can be any of the following:

  • eng or en (English)
  • hun or hu (Hungarian)
  • jap or ja (Japanese)
  • nor or no (Norwegian)

Examples

  • {{lang code to en|ja}} ⇒ Japanese

Errors