HOC SiteDocumentation

Locales

Each website has a primary locale and a list of enabled locales used for publishing and the public site.

Read locale configuration.

GET /api/v1/{locale}/{websiteId}/locales

Replace primary and enabled locales (website superadmin).

PUT /api/v1/{locale}/{websiteId}/locales
{
  "primaryLocale": "en-US",
  "enabledLocales": ["en-US", "nl-NL"]
}

MCP: get_website_settings (sections=locales), save_website_locales.