We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: There should be an API to retrieve messages for a given locale.
<APP>/languages/<LOCALE>.json
GET
/<APP_CONTEXT_PATH>/apis/languages/
/<APP_CONTEXT_PATH>/apis/languages/<LOCALE>
/<APP_CONTEXT_PATH>/apis/languages/current
Accept-Language
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
There should be an API to retrieve messages for a given locale.
<APP>/languages/<LOCALE>.json
.GET
/<APP_CONTEXT_PATH>/apis/languages/
will return all available localesGET
/<APP_CONTEXT_PATH>/apis/languages/<LOCALE>
will return messages of the specified locale read from<APP>/languages/<LOCALE>.json
GET
/<APP_CONTEXT_PATH>/apis/languages/current
will return messages of the locale computed from theAccept-Language
HTTP headerThe text was updated successfully, but these errors were encountered: