-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: API - Java, API - REST
-
CtB - Improve Existing
There is currently no public Java API (or REST API) for retrieving the currently applicable locale, or the locale override (if any) for a given user.
The currently applicable locale is defined as (for the current user):
- the locale override for that user, if it exists
- else, the locale for the current request, if it exists
- else, the default server locale
A user may or may not have a locale override. By default, a user does not have a locale override.