Wiki source code of Enable (or disable) the Multilingual Setting
Last modified by Eleni Cojocariu on 2026/10/28 09:40
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set($locales = $xwiki.getDocument('dev:Community.L10N.SupportedLocales.WebHome').getObjects('dev:Community.L10N.SupportedLocales.Code.LocaleClass')) | ||
| 3 | XWiki has UI translations in ${locales.size()} languages: | ||
| 4 | |||
| 5 | {{language showCode="true" codes="#foreach($locale in $locales)#if($locale.locale!='none')#if($foreach.index > 0),#end$locale.locale#end#end"/}} | ||
| 6 | {{/velocity}} | ||
| 7 | |||
| 8 | |||
| 9 | To toggle the multilingual setting for the [[Wiki>>extensions:Extension.Wiki Application]]: | ||
| 10 | |||
| 11 | 1. [[Administer the Wiki>>documentation.xs.admin.base.administer-wiki.WebHome]]. | ||
| 12 | 1. Select "Content", and then select "Localization" from the dropdown.((( | ||
| 13 | {{image reference="localization.png" size="medium" alt="The Localization item from the Content menu"/}} | ||
| 14 | ))) | ||
| 15 | 1. Select the option from the "Multilingual" dropdown in the "Language" section to enable or disable multilingual for the wiki.((( | ||
| 16 | {{image reference="multilingual.png" size="large" alt="The Multilingual dropdown with the Yes, No, default options"/}} | ||
| 17 | ))) | ||
| 18 | 1. Select the "Supported languages" from the dropdown. These are the languages into which the Wiki [[Pages can be translated into>>documentation.xs.user.base.page.view.translate.WebHome]].((( | ||
| 19 | {{image reference="supported-languages.png" size="large" alt="The dropdown with all the supported languages"/}} | ||
| 20 | ))) | ||
| 21 | 1. Click "Save" to apply the changes, or simply leave the "Administration: Localization" Page to discard them. |