Returns the translations for one namespace in a locale as an app uses them, as a flat {key: value} object, with the en-US value wherever the locale has none of its own. No token is needed. To fetch every namespace at once, use /translations/{locale}.
Request
Path Params
Responses
🟢200OK
application/json
The translations for the namespace. An unknown namespace, or one with no en-US translations, returns an empty result, as []. Every key comes from the en-US translations: where the locale has its own value for a key, that value is returned, otherwise the en-US one. A key or namespace that exists only in the requested locale is not returned. There is no other fallback: fr-CA does not fall back to fr, and no domain setting applies. A locale with no translations returns the en-US values. The response may be cached for up to 1 hour (Cache-Control: public, max-age=3600), so a browser can show an older value after an edit.