Localization, or delivering content based on location settings, requires locales; that is, signifiers that indicate language, specific formatting, or content unique to that locale.
This document shows you how to add and remove locales in Account Settings.
Before you can use localization, you need to add locales to Builder so your app can deliver the right content to the right audience. Examples of locales include:
ar-sa: Arabic, Saudi Arabia
fr-ca: French, Canadian
en-nz: English, New Zealand
zh-hk: Chinese, Hong Kong
- Many more locale codes with standard as well as region-specific codes.
Tip: If you're localizing individual text blocks in the Visual Editor, you can add or remove individual locales while in the block Edit dialogue.
- In Account Settings, click the pencil icon to the right of Custom targeting attributes.
- Click the + New Target Attribute button.
- In the Name field, enter
locale. Type remains the default of
- Toggle Enum to the on position.
- In the Enum Values field, type each locale followed by pressing Return or Enter.
- Click the Save button.
The following video shows this process:
To remove specific locales, click on the "x" on each individual locale. To remove all locales, click the "x" for the
locale section. Removing locales removes the associated content.
Now that you know how to add locales in Account Settings, you can use your locales throughout your app. For more information, refer to the following documentation:
Looking to hire a third party to help with your project?
Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.