Skip to content

List supported UI locales

GET
/i18n/locales

Returns the locales the frontend has a catalogue for. Used by the language picker in the user menu and on the account preferences page. Static per server build; the response is derived from the bundled frontend catalogues plus a small completion-pct hint.

List of supported locales

Array<object>

One UI locale the frontend has a catalogue for. Used by the language picker. completion_pct is the share of source-of- truth (en) keys translated — useful for showing “(70%)” beside a locale name so users know it’s incomplete.

object
code
required

IETF BCP47 tag (e.g. “en”, “es-AR”).

string
name
required

English name (e.g. “Spanish (Argentina)”).

string
native_name
required

Endonym (e.g. “Español (Argentina)”).

string
region

Optional regional sub-tag (e.g. “AR”).

string
completion_pct
required

0..100 — share of en keys this catalogue translates.

integer
<= 100

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}