[
https://issues.jboss.org/browse/GTNPORTAL-1743?page=com.atlassian.jira.pl...
]
Eric Huang commented on GTNPORTAL-1743:
---------------------------------------
/portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java
/portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
/portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortal.java
have to be modified.
replace
ResourceBundle res =
i18nManager.getNavigationResourceBundle(locale.getLanguage(), nav.getOwnerType(),
nav.getOwnerId());
with
String localeName = LocaleContextInfo.getLocaleAsString(locale);
ResourceBundle res =
i18nManager.getNavigationResourceBundle(localeName, nav.getOwnerType(),
nav.getOwnerId());
Multi-Language Navigation Nodes failed for zh_TW, zh & pt_BR
------------------------------------------------------------
Key: GTNPORTAL-1743
URL:
https://issues.jboss.org/browse/GTNPORTAL-1743
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Reporter: Eric Huang
Labels: i18n
I am trying to multi-language navigation nodes.
I provided the resource key in
/WEB-INF/classes/locale/navigation/portal/classic_zh_TW.xml.
However, it is not working. I have tried other locales. It seems all other language is
working except zh_TW, zh and pt_BR.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira