Create Locale
Adds a new locale so a storefront channel can offer that language. The new locale is returned with the server-assigned id / _id.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminSettingsLocale | Mutation | Create a locale |
Input
| Field | Required | Notes |
|---|---|---|
code | yes | Unique locale code (lowercase letters, digits, underscore, hyphen — e.g. fr, pt-br). |
name | yes | Human-readable display name. |
direction | yes | Text direction — ltr or rtl. |
Notes
- A logo image cannot be uploaded over GraphQL; new locales are created without a logo (
logoPath/logoUrlarenull). - A duplicate or malformed
codeis rejected with a validation error.
Permissions: settings.locales.create. See the Locales overview for behaviour.

