API response language preference
If Kuroco is configured for multiple languages, API responses will be made on a per-language basis.
Please refer to the following priority order for the languages that will be responded to.
Priority of Responded languages
- the _lang of the QueryString
- ACCEPT-LANGUAGE of the request header
- primary language of the site
Checking the Responded Language
The API response header includes a Content-language parameter that indicates the language of the returned data.
By checking this parameter, it is possible to confirm which language is being used in the response.
_lang parameter: No setting
Browser settings: English
_lang parameter: No setting
Browser settings: Japanese
Support
If you have any other questions, please contact us or check out Our Slack Community.