| Summary: | Only one character is redered in navigation node name for Japanese and Nepali | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Toshiya Kobayashi <tkobayas> | ||||||||||
| Component: | Portal | Assignee: | Thomas Heute <theute> | ||||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | high | ||||||||||||
| Version: | 5.2.0.CR03 | CC: | epp-bugs, tkobayas | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | 5.2.0.GA | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1420 | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2011-12-07 09:05:27 UTC | Type: | Bug | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Attachments: |
|
||||||||||||
|
Description
Toshiya Kobayashi
2011-11-30 07:38:37 UTC
Attachment: Added: epp520cr02-ja.png Attachment: Added: epp520cr02-ne.png My findings: Japanese and Nepali have message properties which are converted into unicode chars by native2ascii. ./deploy/gatein.ear/02portal.war/WEB-INF/classes/locale/navigation/portal/classic_ne.properties:portal.classic.home=\u0917\u0943\u0939 \u092a\u0943\u0937\u094d\u200d\u0920 ./deploy/gatein.ear/02portal.war/WEB-INF/classes/locale/navigation/portal/classic_ja.properties:portal.classic.home=\u30db\u30fc\u30e0 Other languages' properties are written in native characters. ./deploy/gatein.ear/02portal.war/WEB-INF/classes/locale/navigation/portal/classic_uk.properties:portal.classic.home=Додому ./deploy/gatein.ear/02portal.war/WEB-INF/classes/locale/navigation/portal/classic_ru.properties:portal.classic.home=Главная But I'm not sure if it is really related to this issue because editing ./deploy/gatein.ear/02portal.war/WEB-INF/classes/locale/navigation/portal/classic_ja.properties doesn't seem to affect (even with clean database) so I cannot confirm. I have to confess I don't understand how message resources work... I found that the label exists in ./deploy/gatein.ear/02portal.war/WEB-INF/conf/portal/portal/classic/navigation.xml It was written in unicode entity for ja and ne. Changing the line with native characters solved the issue. In EPP 5.1.0, navigation.xml doesn't have such labels Attachment: Added: epp520cr03-es.png I noticed that any unicode entity in navigation.xml causes the issue. In case of Spanish, see attached epp520cr03-es.png (2 'Navegaci' nodes) Attachment: Added: navigation.xml Attached navigation.xml which I fixed every occurrence of unicode entity (Japanese, Nepali, German, Spanish). Release Notes Docs Status: Added: Not Required |