HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Languages

Enable and manage multiple content languages in Optimizely CMS 13 for editors.

Use Settings > Languages to add, enable, and configure languages for content editing. Editors create content only in languages that are added and set to Available.

📘

Note

This topic is for CMS administrators and developers with administrative access rights.

To set the CMS 13 UI language, see Get started with CMS 13.

Editors can create content in a language after you activate it and set an access level to authorize them to create or edit pages in that language.

When an editor copies a page, all language versions copy regardless of the editor's language rights. For example, an editor with access rights only to English who copies a page in English and French will paste both language versions.

📘

Note

CMS 13 no longer auto-creates language branches (a language branch is the set of translated content for a specific language under a given page node) when you create content in a locale that does not exist.

In earlier versions, attempting to create content in a locale that was not explicitly added and enabled silently created a language branch. CMS 13 does not do this.

Creating content in a locale that does not exist, or that exists but is not enabled (Available selected), returns an error. Ensure every language for content creation is added and set to Available before editors create or edit content in it. See Add languages.

View languages

The Languages page lists every language installed for the site, along with its activation state and sort order. Use this view to audit which languages editors can author in and how they appear in the UI.

Go to Settings > Languages. The installed website languages display.

Screenshot of the Languages page where listing installed website languages with their availability status and sort order

On the Languages page, do the following:

  1. Select Available > True to show activated languages, Available > False to show deactivated languages, or Available > All to show both.
  2. Sort the list by clicking Name, Language Code, or Sort Index.
  3. Check the Available column for a checkmark to confirm which languages are active.
  4. Adjust language order by changing the sort index in the language settings.

Activate or deactivate a language

Activate a language to let editors author and publish content in it. Deactivate a language to stop new edits while preserving existing content for later reactivation.

  1. Click the language name.
  2. Select Available.
  3. Click Save. To deactivate, clear Available and click Save.
📘

Note

Clearing Available does not delete existing content in that language. Existing content remains accessible but cannot be edited until the language is re-enabled. Editors cannot create content in a deactivated language. Attempting to do so returns an error.

Screenshot of the language settings where toggling the Available option to activate or deactivate a language

Add languages

Add a language to expand the site's authoring options and reach new audiences. Configure name, URL slug, fallback, and permissions so editors with the right access can publish localized content.

Add and enable a language in Settings before editors can create or edit content in it.

  1. Go to Settings > Languages.

  2. Select the languages to add. Type in the Search box to filter the list.

    Screenshot of the language search and selection interface where filtering and adding languages to the site
  3. Click Add Languages.

  4. Click a language to edit its settings. The Settings window displays.

    Screenshot of the language Settings window where configuring name, URL slug, sort index, fallback language, and availability
    • Name – Enter a display name for the language. The field defaults to the language encoding name.
    • Template icon – Enter the relative path to an icon symbolizing the language.
    • URL slug – Provide a specific prefix to show the content of the relevant language. If you do not provide a prefix, the language code is used, such as www.company.com/nl.
    • Sort Index – Enter a number to set the display order for this language.
    • Fallback language – Select a language to use when a page does not have a translation for this language.
      📘

      Note

      Changes to the fallback language require an index rebuild to take effect.

    • Available – Select to activate the language for editing. This setting also controls whether the language is visible to website visitors. A deactivated language does not display in the edit view. Existing content in that language remains accessible but cannot be edited.
  5. Select the Permissions tab.

    Screenshot of the Permissions tab where defining which editor groups have access to create and edit content in a language
    • Add User/Group – Select to define which editor groups have access to create and edit content in this language. When you add a language, the Everyone group has access by default.

      An editor's access rights to both content and language determine which actions the editor can perform. An editor must have edit access for a specific language and a specific item to edit the content in that language.

      When a language has Everyone as access rights, access rights for an item apply to all languages. An editor with delete access rights can delete an entire node with content in all languages, including languages the editor does not have access to.

      📘

      Note

      Removing the Everyone group in a certain language may cause some editors to lose their access rights to create and edit content in that language.

  6. Click Save.

Graph search results in different languages

Graph language analyzers deliver accurate, locale-aware search results across translated content. Knowing which locales have analyzers helps administrators set realistic expectations for multilingual search quality.

CMS works with Optimizely Graph to deliver search results for up to 33 supported language locales. For the full list, go to Supported locales with language analysis. See also GraphiQL under Settings.

📘

Note

Editors can create content in any of the 790 possible languages in CMS Settings by making those languages Available in their instance. Many languages are regional variations of a single language. For example, English exists in more than 100 variants.

Consider a search for "world" on a page translated into Swedish, English, and Akan. Optimizely Graph searches all three translated pages and finds "world" in each.

Screenshot of Optimizely Graph search results where finding the word world in Swedish, English, and Akan translations

Because Optimizely Graph does not have a language analyzer for Akan, it cannot find the plural "worlds" in the Akan page. It can find "worlds" in the Swedish and English pages, which have language analyzers.

Screenshot of Optimizely Graph search results where showing that the plural worlds is found only in languages with analyzers

Remove an existing language

Remove a language to retire it from active editing while keeping the option to reactivate later. Use this to phase out languages that are no longer needed without deleting existing translations.

  1. Go to Settings > Languages.
  2. Click the language name.
  3. Clear Available.
  4. Click Save.