Skip to content
HOC Site Docs
English
Esc
navigateopen⌘Jpreview

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",
  "enabledLocales": ["en", "tr"]
}

MCP: get_website_locales, update_website_locales.

Was this page helpful?