Add a website language
Enable a new locale, translate overlays and entries, and confirm public URLs.
1. Add the locale
Open Website settings → Locales and add the language. Each locale gets its own URL prefix; one locale is primary for the site.
See Locales settings and Locales concept.
2. Translate design and objects
- Pages, header, footer, components — pass
contentLocaleon reads/writes. Translations are sparse overlays on a shared layout: only changed leaves are stored (save_localizationor locale-awaresave_page/save_chrome). There is no separate publish step; a successful save is live on the public site within about 60 seconds (expectedLiveBy). - Object types and entries — use
localizedValuesByLocaleon types/entries that declare localizable fields.
3. Routes
A new locale gets a copy of the primary locale’s route head so paths do not 404. Adjust per-locale paths when a language needs different segments.
4. Verify on the public site
Open the locale-prefixed liveUrl (or a dry-run previewUrl). Confirm links use the correct locale prefix and that omitted overlays fall back as you expect.
Related
- Custom domain — locales work on platform and custom hosts alike.
- MCP save_page and save_object_type for scripted translation workflows.