Template:Lang
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Lang/doc. (edit | history)
[purge]
Return the current language setting, which is an important piece of information for the internationalization of the wiki. If it was not set manually before, it will be automatically detected based on the page name.
Usage
{{ lang | }}
Note that the empty first unnamed parameter should always be included.
Examples
Code | Result |
---|---|
{{lang/set|zh}} |
|
{{lang|}} |
zh |