[
https://issues.apache.org/jira/browse/FELIX-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-2267:
------------------------------------
Attachment: conflocale.patch
The provided patch allows the locale to be configured by:
1. cookie, named 'felix.webconsole.locale'
2. configuration property
and if none of the above is set, will fall-back to the original request locale.
It wraps the request, so all plugins automatically gets the pre-configured
locale.
However, the patch doesn't provide GUI changes for setting the cookie.
So WDYT?
> Improved locale detection
> -------------------------
>
> Key: FELIX-2267
> URL: https://issues.apache.org/jira/browse/FELIX-2267
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-3.0.0
> Reporter: Carsten Ziegeler
> Attachments: conflocale.patch
>
>
> Currently the locale is detected by checking the request; I think we should
> improve this:
> - a user should be able to switch the language
> - there should be a possibility to configure a default language - I guess
> there are situations where localization of the web console is simply not
> desired.
> So what about a new configuration value for the web console which defines the
> default language - this is optional.
> The language detection might then go like this:
> - check for a cookie with a language
> - check the user for a configured language (once we have user admin support)
> - if a language is configured for the web console, use this
> - use request locale
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira