> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Locale Settings

# Type: Locale Settings Object

# Link: https://dev.wix.com/docs/api-reference/business-management/multilingual/locale-management/locale-settings/locale-settings-object.md

## Description: The Locale Settings object represents the multilingual configuration settings for a site.

## Schema:

```json
 Type: Locale Settings Object | type: LocaleSettings
 Description: The Locale Settings object represents the multilingual configuration settings for a site.
       - name: revision  | type: string | description: 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.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Date and time the locale settings were created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the locale settings were last updated.
       - name: multilingualModeEnabled  | type: boolean | description: Whether multilingual mode is enabled for the site. When enabled, you can create secondary locales.  Default: `false`
           - name: value  | type: boolean | description: 
       - name: autoSwitch  | type: boolean | description: Whether the live site automatically opens in a secondary locale if the site visitor's browser is set to that locale.  Default: `false`  <blockquote class="caution">  __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.  </blockquote>
       - name: urlStructure  | type: string | description: 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"`
           enum: SUBDIRECTORY, SUBDOMAIN, QUERY_PARAM
       - name: primaryLocale  | type: Locale | description: The site's primary locale.
           - name: id  | type: string | description: Locale ID.  The locale ID is made up of the language and region codes supported by Wix. For example, `"en-US"` for U.S. English.
               - name: value  | type: string | description: 
           - name: revision  | type: string | description: Revision number, which increments by 1 each time the locale is updated. To prevent conflicting changes, the existing revision must be passed when updating the locale object.
           - name: createdDate  | type: string | description: Date and time the locale was created.
           - name: updatedDate  | type: string | description: Date and time the locale was last updated.
           - name: languageCode  | type: string | description: Language code. For example, `"en"` for English.
           - name: regionCode  | type: string | description: Region code. For example, `"UK"` for United Kingdom.
           - name: visibility  | type: string | description: Locale visibility status.
               enum: HIDDEN, VISIBLE
           - name: primaryLocale  | type: boolean | description: Whether the locale is the site's primary locale.
           - name: visitorPrimaryLocale  | type: boolean | description: Whether the locale is the site's visitor primary locale.
           - name: flag  | type: string | description: Flag icon as a 3-letter language code based on Wix's supported locales. For example, `"USA"` for the United States flag icon.
           - name: regionalFormat  | type: string | description: Regional format for determining how to display data types such as dates, times, numbers, and currencies. For example, `"en-US"` to format dates like this: `MM-DD-YYYY`.
           - name: effectiveUrlStructure  | type: string | description: Default URL structure for the locale's live site URL, based on the locale's settings, unless overridden.
           - name: urlStructureOverride  | type: UrlStructureOverride | description: Optional override for the locale's default URL structure.
               - name: urlStructure  | type: string | description: URL structure to use instead of the default.
           - name: machineTranslationCode  | type: string | description: Language code based on Wix's supported locales, used to specify the target language when translatable content is sent for machine translation. For example, `"ES"` for Spanish or `"ZH_TW"` for Traditional Chinese.  Default: The locale's `languageCode` value.
           - name: effectiveDisplayName  | type: string | description: The locale's `displayName`, unless overridden.
           - name: displayName  | type: string | description: Default display name for the locale, inferred from the locale ID and region code.
           - name: overrideDisplayName  | type: string | description: Optional override for the locale's display name.

```