This template uses Module:Language, a script written in Lua. Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more. |
This template returns the language name of the language code provided. By default, the language name is localized in the native name. If en
is set, the language name is returned in English if a translation exists in English.
Parameters[]
- 1: The language code of the language to be displayed.
- en, 2: (Optional) Set this parameter to display the language name in English instead.
Examples[]
Code | Result |
---|---|
{{Language|de}} |
Deutsch |
{{Language|fr|en=1}} |
French |
{{Language|jbo|en}} |
Lojban |
Technical details[]
If the language code provided is invalid, it defaults to en
.
See also[]
{{PageLanguage}}
{{L}}
- mw:Extension:CLDR
The above documentation is transcluded from Template:Language/doc. (edit | history)