Internationalization

Version 25.2 by Silvia Macovei on 2012/03/07

XWiki can be set-up to support one or various languages. As of September 2011 XWiki Enterprise supports 25 languages:

  • Catalan (ca)
  • Chinese, Simplified (zh)
  • Chinese, Traditional (zh_TW)
  • Croatian (hr)
  • Czech (cs)
  • Dutch (nl)
  • English (en)
  • French (fr)
  • Galician (gl)
  • German (de)
  • Hindi (hi)
  • Hungarian (hu)
  • Italian (it)
  • Korean (ko)
  • Latvian (lv)
  • Norwegian (no)
  • Polish (pl)
  • Portuguese (pt)
  • Romanian (ro)
  • Russian (ru)
  • Slovak (sk)
  • Spanish (es)
  • Swedish (sv)
  • Ukrainian (uk)
  • Vietnamese (vi)

To see the exact status for each language or if you wish to help, check our translation wiki (for example you can see the status of translations for XWiki Enteprise).

Preferences

Setting up languages is done in the Administration (link on the top right of every page). 

To make use of this feature for Languages with encodings that are not ISO-8859-1, you will need to adjust the encoding for your XWiki setup as documented in the Encodings page of the Administrators Guide

AdminLanguages.png

Switch to another language

By default the language displayed will be the one coming from the browser. However, on every page you can choose to switch between the different language translations that exist for the page. To do so click on the language name in the top right corner of the screen as shown in the following screenshots. Note that you can also force a language by suffixing a URL with language=<2-letter language code>. In addition you can configure your wiki to always use a specific language or force a single language to be used.

LanguageEN.png <-English    Deutsch-> LanguageDE.png

For the Mandriva Club website, XWiki supports 25 languages:

Languages_MandrivaClub.JPG

Once you click on a language, you're forcing it and thus all pages which have translations in that language will display these translations by default when you navigate to them.

Edit a translation

When you go to the edition mode you are able to edit the page in the default language. The default language is indicated on the right "Document Information" panel as shown below:

DefaultLanguageEN.PNG

In the "Document Translations" panel you can see the current language you are performing translations in and the alternative languages you may translate your page to. These are the languages you have previously set up in "Administration".

DocumentTranslations.PNG

In order to translate your document in a different language, click on one of the languages (e.g. Fr). As a result you will see the edition mode translated in that language.

DefaultLanguageFR.PNG

Once you save a document in one of the languages, that document becomes the original document and the language it is written in becomes the default language.

OriginalLanguage.PNG

Note that all translations of one page share the same set of XWiki objects. As a result it is impossible to have different objects (and page tags, which are objects too) in different translations for now, but it is planed in next versions.

Tags:
   

Get Connected