Multilingual documents

Multilingual documents#

You can manage every document in multiple languages. A language selector lets you choose the language to display for the entire wiki. To enable the language selection, you first need to create a selection list with the languages you want. Then you create two custom attributes:

  • a simple selection list named “WikiDocumentLocale

  • an item selector named “WikiDocumentLocaleReference

You assign the language list to the first attribute. Now, when you go to the wiki view, a language selector appears at the top. The context menu for a document gives you the option to create other language versions of the document. When you create a new language variant this way, the “WikiDocumentLocaleReference” attribute is set to the original document (in the language selected at the top of the wiki), and the “WikiDocumentLocale” attribute is set to the new language.

You therefore only need to place the two attributes “WikiDocumentLocale” and “WikiDocumentLocaleReference” on the forms for your documents if you want to change the values afterwards.