Template:Lang code to en
From Angelina Jordan Wiki
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 things like:
noornorfor Norwegiannbornobfor Bokmål Norwegian (one of the two main forms of written Norwegian)nnofor Nynorsk Norwegian (the other)svorswefor Swedishja,jp, orjpnfor Japanese (but note thatjpis really a code for the country of Japan)fa,fas, orperfor Persian (Farsi)enorengfor English (but this one shouldn't really be neecessary)
Other supported codes include:
fiorfinfor Finnishde,deu, orgerfor Germanhuorhunfor Hungarianinorindfor Indonesianptorporfor Portugueseslorslvfor Sloveniansporspafor Spanish
This list might not include the latest additions to the template. You can edit the template itself to see a complete, up-to-date list (and then "Cancel" out of editing when you're finished).
Examples
{{lang code to en|ja}}⇒ Japanese
Errors
{{lang code to en}}⇒ code is unknown to Template:Lang code to en{{lang code to en|kyl}}⇒ code kyl is unknown to Template:Lang code to en