Localization
All request made to the API can be localised through the Accept-Language
header using ISO 639-1 language codes.
If the header was not specified the api will fall back to the default locale defined in the Easy To Recruit application.
You can query the languages endpoint to get a list of active locales.
The current supported language codes are: nl
fr
en
de
.
Failed localization
When the supplied localization code is not supported a http status code 403
will be returned.
The response body of the request will not contain the data
key but a message
key instead, this will contain a message specifying the available localization codes for the application.
Header
Header | Required | Example |
---|---|---|
Accept-Language | optional | nl |