--- url: https://docs.youcan.shop/changelog/language-ids.md --- The locale of a language is used as its `id` in the languages endpoints and in the MCP tools. *** # Language ids * In `GET /languages`, you get the locale of a language as its `id`, for example `fr`, `ar` or `zh-CN`. Before, you got a UUID. * Send the same `id` to `PUT /languages/{id}/default`. You get a 404 for a UUID from an earlier listing. * The same `id` is used by the `list_languages` and `set_default_language` MCP tools. * A copy of a language with a regional code, for example `ar_MA`, is merged into its language (`ar`). * See [Listing languages](/store-admin/languages/listing).