Manage locales using the app
Before a content author can localize a content item, an Administrator must define the necessary locales. A locale is a culture code that consists of a two-letter language code and a two-letter region code, for example, the locale for American English is en-US
and for British English is en-GB
. You can manage locales using the Content Hub ONE app if you have the necessary permissions, or you can use the API.
Locales are managed from the Locales page, which is accessible by clicking Settings on the menu bar.
The Settings menu is only visible if you have an Admin role.
For a full list of fields and technical limitations, see the data model.
Create a locale
To create a locale:
-
On the menu bar, click Settings and, in the LOCALIZATION section of the left pane, click Locales.
-
Click Add locale.
-
In the Add locale dialog, enter the name of the language and location and then select it. As you type, the list of locales is filtered to match what you enter.
-
Click Add.
The name of the locale (language and region) and the ID of the locale is added to the list of available locales.
Set or unset a default locale
To make it easier for content creators, you can set a default locale that will be automatically selected when creating new content. You can choose a new default locale, or you can remove the current default.
To set or unset a default locale:
-
On the menu bar, click Settings and, in the LOCALIZATION section of the left pane, click Locales.
-
On the Locales page, next to the locale you want to set or unset, do one of the following:
-
To set a default locale, click More Actions > Set as default.
-
To unset the default locale, click More Actions > Unset as default.
-
Edit a locale
You can edit a locale to change the display name.
To edit a locale:
-
On the menu bar, click Settings and, in the LOCALIZATION section of the left pane, click Locales.
-
Next to the locale you want to edit, click More actions > Edit.
-
In the Edit locale dialog, modify the name of the locale as required. You cannot edit the locale ID.
-
Click Save.
Delete a locale
Before you can delete a locale, you need to ensure that there are no content items using it.
You cannot delete the default locale. You must unset it first.
To delete a locale:
-
On the menu bar, click Settings and, in the LOCALIZATION section of the left pane, click Locales.
-
Next to the locale you want to delete, click More actions > Delete.