# Locales

A locale is an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). For example, the locale for American English is `en-US` and for British English is `en-GB`. The region code is optional.

 - [DELETE /api/v2/cm/branches/{branchId}/locales/{localeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/locales/deletelocale.md): Deletes a locale with a specific ID (for example, `en-US`). You cannot delete a locale if it is being used by a content item or if it is the default locale.
 - [GET /api/v2/cm/branches/{branchId}/locales/{localeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/locales/localebyid.md): Retrieves a locale with a specific ID, for example `sv-SE`.
 - [PUT /api/v2/cm/branches/{branchId}/locales/{localeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/locales/updatelocale.md): Updates a locale. For example, to update the name of a locale that is being changed from `French(France)` to `French(fr-FR)`.
 - [GET /api/v2/cm/branches/{branchId}/locales](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/locales/getlocales.md): Lists all defined locales. If you don't specify any filtering parameters, you will retrieve all available locales.
 - [POST /api/v2/cm/branches/{branchId}/locales](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/locales/addlocale.md): Creates a locale (for example, create a locale called `es-CL` for Spanish(Chile) and set it as the default locale). A locale consists of a two- or three-letter language code and a two- or three-letter
