Language Macro

Version 28.1 by Thomas Mortagne on 2019/08/20
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Example

Code

{{language codes='de, fr, it, lv, nl, ru, sv, zh'/}}

Result

Parameters

 Parameter name  Description
 codes  indicates the code list for the language

Codes that can be used:
Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Macros.Language]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

References

The code is based on <language lower case>_<COUNTRY UPPER CASE>

This macro uses http://www.famfamfam.com/lab/icons/flags/ icons.

Get Connected