H. Trang Vu created GTNPORTAL-3392:
--------------------------------------
Summary: DefaultLocalePolicyService doesn't work correctly
Key: GTNPORTAL-3392
URL:
https://issues.jboss.org/browse/GTNPORTAL-3392
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: H. Trang Vu
Priority: Minor
When there is only one language different from English is configured in locales-config.xml
and the first language in browser setting is not the that language, there are some
troubles:
* WARNING message and there are still English labels in different screens
{noformat}
406229 [http-bio-28080-exec-2] WARN portal:LocalizationLifecycle - Unsupported locale
returned by LocalePolicy:
org.exoplatform.portal.application.localization.DefaultLocalePolicyService@4ca96e78.
Falling back to 'en'.
{noformat}
* JavaScript error in Language Selector form
{noformat}
SyntaxError: missing } after function body :
window.require(["SHARED/base","SHARED/uiMaskWorkspace","SHARED/selectors","SHARED/skin"],function(base,maskWS,selectors,skin)
{
maskWS.show('UIMaskWorkspace', -1, -1) -- 0
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira