<
From version < 6.3 >
edited by Vincent Massol
on 2010/03/04
To version < 6.4 >
edited by Vincent Massol
on 2010/03/04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -27,18 +27,16 @@
27 27  withparams=I can {0} pass {1} {2} params too using the Java MessageFormat syntax
28 28  {{/code}}
29 29  )))
30 -* Do the same for all the translations you want.
31 -
30 +* Do the same for all the translations you want.(((
32 32  {{info}}
33 33  To enable multiple languages you'll need to go to the Administration page and set MultiLingual to true and list the different languages you wish to use in the Languages field.
34 34  {{/info}}
35 -
36 -* Tell XWiki that your page is a Document Bundle by going to the Administration page, selecting the "Programming" icon and entering it in the "Internationalization Document Bundles" field. You can specify several pages, separated by commas.
37 -
34 +)))
35 +* Tell XWiki that your page is a Document Bundle by going to the Administration page, selecting the "Programming" icon and entering it in the "Internationalization Document Bundles" field. You can specify several pages, separated by commas.(((
38 38  {{info}}
39 39  When creating "Internationalization Document Bundles", you should avoid naming the pages with names that include spaces. For example, a document name of Main.My Messages could cause issues, instead, use Main.MyMessages
40 40  {{/info}}
41 -
39 +)))
42 42  * Alternatively you can also specify the list of Internationalization Document Bundles in ##xwiki.cfg## under the key ##xwiki.documentBundles##.
43 43  * On the page where you want to use the internationalized message, use:(((
44 44  {{code}}

Get Connected