Language Macro

Version 23.1 by Marius Dumitru Florea on 2016/11/01
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

This macro uses http://www.famfamfam.com/lab/icons/flags/ icons and the language names are based on http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt.
XWiki supported languages are in concordance with http://l10n.xwiki.org/xwiki/bin/view/L10N/Flags

Get Connected