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


  • German
  • French
  • Italian
  • Latvian
  • Dutch
  • Russian
  • Swedish
  • Simplified Chinese


 Parameter name  Description
 codes  indicates the code list for the language

Codes that can be used:

 Code  Flag  Language name
 bg  bg.png  Bulgarian
 ca  ca.png  Catalan
 cs  cs.png  Czech
 da  da.png  Danish
 de  de.png  German
 el  el.png  Greek
 en  en.png  English
 es  es.png  Spanish
 fa  fa.png  Persian
 fr  fr.png  French
 gl  gl.png  Galician
 hi  hi.png  Hindi
 hr  hr.png  Croatian
 hu  hu.png  Hungarian
 id  id.png  Indonesian
 it  it.png  Italian
 ja  ja.png  Japanese
 km  km.png  Cambodian
 ko  ko.png  Korean
 lt  lt.png  Lithuanian
 lv  lv.png  Latvian
 mr  mr.png  Marathi
 nl  nl.png  Dutch
 no  no.png  Norwegian
 none  none.png  Language
 pl  pl.png  Polish
 pt_BR  pt-BR.png  Portuguese (Brazil)
 pt  pt.png  Portuguese
 ro  ro.png  Romanian
 ru  ru.png  Russian
 si  si.png  Sinhalese
 sk  sk.png  Slovak
 sl  sl.png  Slovenian
 sv  sv.png  Swedish
 tr  tr.png  Turkish
 ug  ug.png  Uyghur
 uk  uk.png  Ukrainian
 vi  vi.png  Vietnamese
 zh_TW  zh-TW.png  Traditional Chinese
 zh  zh.png  Simplified Chinese


The locale code is based on <ISO 639-1 language code>_<COUNTRY UPPER CASE>

The flag need to be attachmed and the filename needs to be <locale>.png (for example pt_BR.png). All the flags currently attached comes from http://www.famfamfam.com/lab/icons/flags/.

The display name needs to be added in the XWiki.WikiMacroClass object.

Created by Thomas Mortagne on 2010/02/24

Get Connected