Languages

The Languages tab sets the languages of the site. With more than one language, each page can have a version for each language. A version stays a draft until you translate it and set it to Publish.

Site settings, Languages tab, with English as the default locale, Norwegian and German, and the translation rules.
Languages sets the locales of the site and the language URLs.

For how to translate pages and content, see Localization.

Locales

A locale is one language of the site. Each locale has one card.

  • Default marks the main language of the site.
  • Display label is the name that visitors see, for example Norsk bokmål.
  • BCP-47 (html lang) is the language code in the page, for example nb-NO.

Add a locale

  1. In the search field, type a language name or code. Example: Norwegian or pt-br.
  2. Click the language in the list. The App adds it at once.
  3. Click Save.

To add a code that is not in the list, type the code and click Add.

Change the default locale

  1. On the card of the language, click Make default.
  2. Click Save.

Remove a locale

  1. On the card, click the trash icon.
  2. Click Save.

The default locale cannot be removed. Make a different locale the default first.

Translation guidelines

In Custom translation rules, write rules for translators and for the agent. Example: names that you do not translate, or the tone for each language.

This section shows when the site has more than one locale.

URL and redirects

Prefix the default locale in URLs adds the language code to the addresses of the default language.

SettingAddress of the About page
Off/about
On/en/about

Other languages always have the code, for example /no/about.

Auto-redirect by browser language sends visitors who open / to the page in their browser language. Select Redirect root by Accept-Language to turn it on.