forked from openhab/openhab-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Accept-Language header for locale in ConfigurableServiceResource (o…
…penhab#2602) Most RESTResources already use the LocaleService to get the locale based on the Accept-Language header and use the system locale only as fallback. Because the ConfigurableServiceResource does not do this, it results in mixed up languages whenever your browser locale is not the same as the configured system locale. See: * https://community.openhab.org/t/language-support-question-regional-settings-language-vs-browser-language/128010 * openhab/openhab-webui#1083 Signed-off-by: Wouter Born <[email protected]> GitOrigin-RevId: 69043be
- Loading branch information
Showing
2 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters