Bug 794385 (JBEPP-1429)

Summary: Czech localization labels for navigation nodes are missing
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Michal Vanco <mvanco>
Component: unspecifiedAssignee: hfnukal <hfnukal>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2.0.CR03CC: epp-bugs, jmorgan, mvanco, mvecera, mwringe
Target Milestone: ---   
Target Release: 5.2.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1429
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Root portal navigation nodes did not have access to localized menu content. If a user selected their local language from the available portal language selector, the portal language would default to English. The fix includes the missing localization files, which corrects the originally reported issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 12:09:30 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:
Embargoed:

Description Michal Vanco 2011-12-02 11:47:16 UTC
project_key: JBEPP

There is a change in file:
02portal.war/WEB-INF/conf/portal/portal/classic/navigation.xml - there used to be internationalization keys and now there are <label xml:lang=".."> elements for all languages.
I think this change is because localization of nodes in UI, but Czech language is missing in config file.

Comment 1 Michal Vanco 2011-12-02 11:48:04 UTC
Link: Added: This issue is related to JBQA-5579


Comment 2 Matt Wringe 2012-01-11 22:32:28 UTC
Where exactly is this not showing up in the ui? If I create or edit a navigation node, i can see the Czech language option for the label.

Comment 3 Michal Vanco 2012-01-12 08:50:44 UTC
Hi Matt,
there used to be property files used for localization of nodes.
Now there is a list of label elements for each language, but elements for czech language are misssing.

e.g.
  <node>
     <name>home</name>
      <label xml:lang="en">Home</label>
      <label xml:lang="fr">Accueil</label>
      <label xml:lang="es">Inicio</label>
      <label xml:lang="de">Startseite</label>
      <label xml:lang="it">Home</label>
      <label xml:lang="nl">Home</label>
      <label xml:lang="pt-BR">Principal</label>
      <label xml:lang="ja">ホーム</label>
      <label xml:lang="ne">गृह पृष्‍ठ</label>
      <label xml:lang="ru">Главная</label>
      <label xml:lang="uk">Додому</label>
      <label xml:lang="ar">ترحيب</label>
      <label xml:lang="ko">홈</label>
      <label xml:lang="vi">Trang chủ</label>
      <label xml:lang="zh">主页</label>
      <label xml:lang="zh-TW">首頁</label>
    <page-reference>portal::classic::homepage</page-reference>
  </node>

You can find czech localizations at 02portal.war/WEB-INF/classes/locale/navigation/portal/classic_cs.properties (these values are not used anymore because i18n keys are not defined at node label).

Comment 4 hfnukal@redhat.com 2012-01-31 16:04:21 UTC
Link: Added: This issue depends GTNPORTAL-2341


Comment 5 hfnukal@redhat.com 2012-02-01 12:09:30 UTC
Release Notes Docs Status: Added: Not Yet Documented
Release Notes Text: Added: Root navigation nodes wasn't localized to cs locale. Localization was added.


Comment 6 Jared MORGAN 2012-03-26 03:54:51 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Root portal navigation nodes did not have access to localized menu content. If a user selected their local language from the available portal language selector, the portal language would default to English. The fix includes the missing localization files, which corrects the originally reported issue.