Localization lets you publish your site in more than one language. Each language of a page has its own text, its own address and its own search-engine data. You can translate a page yourself, or ask the agent to do it.
How Splitleaf handles languages
Each language of a page is a full page, with its own file. A content item keeps its own field values for each language. You and the agent edit each language directly, the same way as your default language.
Splitleaf does not use a list of text keys, such as hero.title, that every language must fill. So one language can have a section that the other languages do not have. You can also put the content of one language in a different order. A change in one language does not break the other languages.
Add a language

- Open Site settings, then click Languages.
- In the search field, type a language name or code. Example:
Norwegianorpt-br. - Do one of these actions:
- Click the language in the list.
- Click Add to add the code that you typed.
- Click Save.
The language shows as a card with a flag and its code. On the card, you can change the Display label and the BCP-47 (html lang) code. The App writes the BCP-47 code into the language attribute of the page.
For each field of the tab, see Languages.
Choose the default language and the addresses
Your site starts with one language, the default language.
- Click Make default on the card of a language to make it the default. You cannot remove the default language.
- Turn on Prefix the default locale in URLs to give the default language its own prefix. Example:
example.com/en/instead ofexample.com/. - Leave Prefix the default locale in URLs off to keep the default language at the root. Example:
example.com/for English,example.com/no/for Norwegian. - Set Auto-redirect by browser language to Redirect root by Accept-Language to send a visitor at
/to the language of their browser. - Set Auto-redirect by browser language to Off to show the default language at
/.
Click Save after each change.
Set translation guidelines
The Translation guidelines section shows when the site has more than one language.
- Open Site settings, then click Languages.
- In Custom translation rules, type your rules.
- Click Save.
Example: brand names that you do not translate, or the tone for each language. The agent reads these rules when it translates. Give them to a human translator too.
Translate a page
A new page has only the default language until you translate it.

- Open the page in the Designer.
- Click the language menu in the top bar.
- Select the language.
- Do one of these actions:
- Ask the agent to translate the page.
- Edit the text yourself.
- In Pages, click the gear on the page to open the page settings.
- At On next publish, click Publish.
A translation stays a draft until you set it to Publish. The App does not publish a page in a language that has no translation.
In the page settings, each language also has its own Slug and its own search-engine title and description. Select the language in the language menu before you edit them.
Note: A translated page does not translate its dynamic content. A dynamic list or a CMS field gets its text from the content item, in the default language. See "Translate your CMS content" below.
Note: In every language, an internal link keeps the address of the default language, also inside a shared component. When you publish, the App points each link to the correct language.
Translate your CMS content
- Open the item in the Content panel.
- Select the language in the language menu of the item editor.
- Edit the fields for that language.
For more, see Translate an item.
Note: Item pages publish in the default language only. The App keeps your translated values, but the live site does not show them yet.
Publish your translations
A page translation goes live when you publish it, the same as any other change. A translated item does not go live yet. See "Translate your CMS content" above. See Publish your site.
Search engines and your languages
The App adds the language attribute, the hreflang tags and the Open Graph language tag to each page. You do not write these yourself. The sitemap lists each published language version of a page.