The Locale Settings object represents the multilingual configuration settings for a site.
Revision number, which increments by 1 each time the locale settings are updated. To prevent conflicting changes, the existing revision must be passed when updating the locale settings.
Date and time the locale settings were created.
Date and time the locale settings were last updated.
Whether multilingual mode is enabled for the site. When enabled, you can create secondary locales.
Default: false
Whether the live site automatically opens in a secondary locale if the site visitor's browser is set to that locale.
Default: false
Caution: Auto-switch can harm SEO by causing duplicate content issues and restricting search engine indexing of different language versions, which limits visibility in search results.
Defines the default method for how secondary languages appear in the live site's URL. The URL structure can be overridden per locale, using the Locale API.
Default: "SUBDIRECTORY"
The site's primary locale.