Wiki source code of I18N

Version 20.8 by Silvia Macovei on 2009/10/12

Show last authors
1 (% class="floatinginfobox" %)
2 (((**Contents**
3
4 {{toc start=2 depth=6 numbered=false scope=page /}})))
5
6 = Internationalization =
7
8 XWiki can be set-up to support one or various languages. As of August 2009 XWiki Enterprise supports 21 languages:
9 * Chinese (zh)
10 * Croatian (hr)
11 * Czech (cs)
12 * Dutch (nl)
13 * English (en)
14 * French (fr)
15 * Galician (gl)
16 * German (de)
17 * Hindi (hi)
18 * Italian (it)
19 * Korean (ko)
20 * Latvian (lv)
21 * Norwegian (nb)
22 * Polish (pl)
23 * Portuguese (pt)
24 * Romanian (ro)
25 * Russian (ru)
26 * Slovak (sk)
27 * Spanish (es)
28 * Swedish (sv)
29 * Ukrainian (uk)
30
31 To see the exact status for each language or if you wish to help, check our [[translation wiki>>http://l10n.xwiki.org/]] (for example you can see the [[status of translations for XWiki Enteprise>>http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources]]).
32
33 == Preferences ==
34
35 Setting up languages is done in the Administration (link on the top right of every page).
36
37 {{info}}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>>platform:AdminGuide.Encoding]]{{/info}}
38
39 image:AdminLanguages.PNG
40
41 == Switch to another language ==
42
43 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>>AdminGuide.Configuration#HLanguagesettings]].
44
45 image:LanguageEN.PNG <-//English// //Deutsch//-> image:LanguageDE.PNG
46
47 //The [[Mandriva Club>>http://club.mandriva.com]] website, where 25 languages are supported on their XWiki:
48
49 image:Languages_MandrivaClub.JPG
50
51 {{info}}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.{{/info}}
52
53 == Edit a translation ==
54 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:
55
56 image:DefaultLanguageEN.PNG
57
58 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".
59
60 image:DocumentTranslations.PNG
61
62 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.
63
64 image:DefaultLanguageFR.PNG
65
66 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.
67
68 image:OriginalLanguage.PNG
69
70 {{info}}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.{{/info}}

Get Connected