For localization architecture and API usage, see Localization Architecture and Fetching Localized Content via API.
Enabling localization
To set up Localization in your ButterCMS account, navigate to Settings > Localization and enter the name and slug for all the Locales you want to set up:Adding a new locale
Add locale details
Enter the Locale Name (e.g., “Spanish”, “French”, “German”) and the API Slug (e.g., “es”, “fr”, “de”).
Setting the default locale
By default, the first Locale you enter will be your Default Locale. You can change this anytime by clicking on the radio button for the Locale you want to set as the default:The default locale is used when no specific locale is specified in API requests.
Common locale examples
| Language | Locale Name | API Slug |
|---|---|---|
| English (US) | English | en |
| Spanish | Spanish | es |
| French | French | fr |
| German | German | de |
| Portuguese (Brazil) | Portuguese (BR) | pt-br |
| Japanese | Japanese | ja |
| Chinese (Simplified) | Chinese (Simplified) | zh-cn |
| Arabic | Arabic | ar |
Understanding locale independence
Each locale version of a page or collection item is independent. Publishing, editing, or deleting content in one locale does not affect other locales.Fetching published localized content
Managing publication status across locales
Status options
Each locale can have one of these statuses:| Status | Description | Visibility |
|---|---|---|
| Draft | Work in progress | Only visible with preview mode (preview=1) |
| Scheduled | Set to publish at future date | Not yet visible |
| Published | Live and available | Visible to all via API |
Viewing locale status
In the ButterCMS dashboard, you can see the publication status of each locale:- Navigate to Pages or Collections
- Select the content item
- Use the locale dropdown to switch between locales
- Each locale shows its current status (Draft/Published)