[JBoss JIRA] Created: (GTNPORTAL-1693) Add the ability to configure LocalizationFilter's portalLocale
by Marko Strukelj (JIRA)
Add the ability to configure LocalizationFilter's portalLocale
--------------------------------------------------------------
Key: GTNPORTAL-1693
URL: https://jira.jboss.org/browse/GTNPORTAL-1693
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Internationalization and Localization
Reporter: Marko Strukelj
Assignee: Marko Strukelj
Priority: Minor
Fix For: 3.2.0-GA
LocalizationFilter has no access to current portal, and its default Locale, but it needs to set some value on LocaleContextInfo. Currently that's hardcoded to Locale.ENGLISH.
Make it configurable:
<filter>
<filter-name>LocalizationFilter</filter-name>
<filter-class>org.exoplatform.portal.application.localization.LocalizationFilter</filter-class>
<init-param>
<param-name>PortalLocale</param-name>
<param-value>fr_FR</param-value>
</init-param>
</filter>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month