> 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: Introduction

## Article: Introduction

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

## Article Content:

# About the Locale Settings API

The Multilingual Locale Settings API provides functionality for managing a site's locale settings.

With the Locale Settings API, you can:
- Retrieve and update a site's locale settings. 
- Enable or disable multilingual mode for a site. Multilingual mode allows a site to support multiple languages.
- Manage how secondary languages appear in the site's URL structure. 


## Before you begin

It's important to note the following points before starting to code:

- The Locale Settings API is active for every site, not just those with the [Wix Multilingual app](https://www.wix.com/app-market/wix-multilingual?searchLocation=home) installed. 
- The [Set Multilingual Mode](https://dev.wix.com/docs/api-reference/business-management/multilingual/locale-management/locale-settings/set-multilingual-mode.md) method can only be called on sites where a Wix user has installed the Wix Multilingual app.
- When a new site is created, a single locale settings object is automatically created and can't be deleted.
- Changes to a site's locale settings, including changes to the multilingual mode, may have significant implications for the site's SEO, content, and structure. 


## Use cases

- [Configure locale settings to support a multilingual site](https://dev.wix.com/docs/api-reference/business-management/multilingual/locale-management/locale-settings/sample-flows.md).


## Terminology

- **Locale settings**: An object that holds the site's multilingual configuration.
- **Multilingual mode**: A setting that enables a site to support multiple locales.
- **Auto switch**: A setting that automatically opens the live site in a secondary locale if it detects that the visitor's browser is set to that language.
- **URL structure**: How secondary locales are resolved in the URL structure of the live site.
- **Primary locale**: The locale in which the site is created, serving as the default language and regional settings. This locale serves as the base for translating to other locales.
- **Secondary locale**: A locale on your site that is used to display translated content or localized versions on the site based on visitor preferences. 



<!-- REST:
- Retrieve current multilingual settings for a site
- Update URL resolution method for secondary languages
- Enable or disable automatic language switching based on browser settings
- Toggle multilingual mode for a site
Velo:
- Implement custom language selection logic based on site settings
- Create a site-specific language management dashboard
SDK:
- Integrate multilingual settings into a third-party localization tool
- Develop a cross-site language management system for multiple Wix sites -->

