Changes for page Internationalization

Last modified by Thomas Mortagne on 2023/10/10

From version < 20.7 >
edited by Silvia Macovei
on 2009/10/12
To version < 20.8 >
edited by Silvia Macovei
on 2009/10/12
Change comment: There is no comment for this version



Page properties
... ... @@ -36,13 +36,13 @@
36 36  
37 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 38  
39 -image:AdminLanguages.JPG
39 +image:AdminLanguages.PNG
40 40  
41 41  == Switch to another language ==
42 42  
43 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 44  
45 -image:LanguageEN.jpg <-//English// //Deutsch//-> image:LanguageDE.jpg
45 +image:LanguageEN.PNG <-//English// //Deutsch//-> image:LanguageDE.PNG
46 46  
47 47  //The [[Mandriva Club>>]] website, where 25 languages are supported on their XWiki:
48 48  
... ... @@ -51,9 +51,20 @@
51 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 52  
53 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:
54 54  
55 -When editing a page, a panel indicates which language is currently being edited. You can always check whether you are working on the right page depending on the language you want to write in.
56 +image:DefaultLanguageEN.PNG
56 56  
57 -image:Language_Translation.JPG
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".
58 58  
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 +
59 59  {{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