Language settings of Kentico CMS can be performed on two levels: User interface culture defines the language of the administration interface (CMS Desk and Site Manager), while Content culture is used to define the language of your website content.
User interface culture
The user interface culture represents language of the administration interface - CMS Desk and Site Manager. UI cultures can be managed and added in Site Manager -> Development -> UI Cultures.
UI cultures can be set for each user in Site Manager -> Administration -> Users -> edit () a user -> General -> Preferred user interface culture.
The default UI culture can be set by adding the following key to the <appSettings> section of your site's web.config file:
<add key="CMSDefaultUICulture" value=”en-nz” />
If you use this key, you also need to rename the ~\CMSResources\CMS.resx file to CMS.en-us.resx and the CMS.en-nz.resx file to CMS.resx. This is needed because the CMS.resx file is used when the (default) option in selected in users' Preferred user interface culture.
When this key is used and the CMS.resx file contains the en-nz dictionary, for the user who has their Preferred user interface culture set to (default), the UI culture will be en-nz.
Learn more about configuring multilingual UI here.
The content culture determines the actual culture of the website content stored in Kentico documents. In a multilingual site, there are multiple versions of a document for each culture.
The list of all content cultures available in Kentico CMS can be found in Site Manager -> Development -> Cultures. All major cultures are provided in the list.
The default content culture can be set the following ways:
|•||Site Manager -> Sites -> Edit -> Default content culture|
|•||Site Manager -> Settings -> (select site from the drop-down list) -> website -> Default culture of the content|
See the example on this page.
Based on the settings of the user's Preferred content culture in the Site Manager -> Administration -> Users ->edit () a user -> General tab the user will either see the content in the default culture - if the setting is to (default) - or in the preferred culture.
It is also possible to set the default culture separately for anonymous visitors of the site. This again can be set on two levels:
|•||generally for a site in Site Manager -> Sites -> edit () a site -> General -> Default visitor culture|
|•||for a particular domain alias of a site in Site Manager -> Sites -> edit () a site-> Domain Aliases -> edit () an alias -> Default visitor culture|
It is either set to (Automatic) in which case the user's browser settings will be used, or it can be set manually to one of the available cultures. The list of available cultures can be found in Site Manager -> Sites -> edit () a site -> Cultures.