It's all about the answers!

Ask a question

RAM overview page some words not translated


pan tianming (4765644) | asked Dec 26 '11, 8:39 p.m.
After we upgraded from RAM 7202 test fix 9f to RAM 7502 test fix 2a, in the RAM overview page, some words seems not translated.
The correct one is:
Welcome to IBM Rational Asset Manager Version 7.5

But right now the wrong words is:
???welcome_to??? ???produce_name??? ???version???

Who know where we can find the related message golblization file in the RAM installation folder?
Thanks.

11 answers



permanent link
Gili Mendel (1.8k56) | answered Dec 28 '11, 1:13 p.m.
JAZZ DEVELOPER
<WAS installed applications>\RAM1WebApplication.ear\com.ibm.ram.repository.web.war\WEB-INF\classes\com\ibm\ram\repository\web\bundles>

permanent link
pan tianming (4765644) | answered Jan 04 '12, 12:44 a.m.
Its property file customMessages.properties setting like this:

#########################################
# Welcome home page strings
#########################################
# {0} is the product title (IBM Rational Asset Manager). The HTML bold tags should move with the variable in the translation
# {1} is the version number (7.5)
welcome_title=Welcome to <strong>{0}</strong> Version {1}

Is it correct or not?

permanent link
Gili Mendel (1.8k56) | answered Jan 04 '12, 10:11 a.m.
JAZZ DEVELOPER
Yes,

These are being used from the theme/custom/homeContent.jspf

If you tinkered with the theme, try to restore the default theme first: Administration->Tools

permanent link
Rich Kulp (3.6k38) | answered Jan 04 '12, 11:08 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
On 1/4/2012 10:23 AM, gmendel wrote:
Yes,

These are being used from the theme/custom/homeContent.jspf

If you tinkered with the theme, try to restore the default theme
first: Administration->Tools


Wait, if this information was in a customized theme that you had created
and installed then on the update the customized theme is lost and needs
to be re-loaded. Customized themes are not maintained across
installation version updates. Typically they need to be re-written to
handle the new version anyway.

--
Rich Kulp
Rational Asset Manager developer

permanent link
pan tianming (4765644) | answered Feb 09 '12, 12:28 a.m.
Hi, Rich,

I compared with the 7.2 and 7.5 resource bundle file, it is caused by the parameter "welcome_to", "product_name" and "version" has been removed after upgrade.
Hence, right now I use "welcome_title" to replace message show to user.

But the result is the following message show in page:
Welcome to {0} Version {1}

We expect :
Welcome to IBM Rational Asset Manager Version 7.5

In the resource property file it shows as:
# {0} is the product title (IBM Rational Asset Manager). The HTML bold tags should move with the variable in the translation
# {1} is the version number (7.5)
welcome_title=Welcome to <strong>{0}</strong> Version {1}


So How we change in our jsp file? Currently our page using this codes:
<h1>
<fmt>
<div>

permanent link
Eric Bordeau (27632) | answered Feb 09 '12, 10:27 a.m.
JAZZ DEVELOPER
Hi, Rich,

I compared with the 7.2 and 7.5 resource bundle file, it is caused by the parameter "welcome_to", "product_name" and "version" has been removed after upgrade.
Hence, right now I use "welcome_title" to replace message show to user.

But the result is the following message show in page:
Welcome to {0} Version {1}

We expect :
Welcome to IBM Rational Asset Manager Version 7.5

In the resource property file it shows as:
# {0} is the product title (IBM Rational Asset Manager). The HTML bold tags should move with the variable in the translation
# {1} is the version number (7.5)
welcome_title=Welcome to <strong>{0}</strong> Version {1}


So How we change in our jsp file? Currently our page using this codes:
<h1>
<fmt>
<div>


Your JSP should contain something like this:
<fmt:message key="welcome_title">

<fmt:param value="IBM Rational Asset Manager" />
<fmt:param value="7.5" />
</fmt:message>

permanent link
Rich Kulp (3.6k38) | answered Feb 09 '12, 10:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Have you changed the homeContent.jspf file?

Our homeContent.jspf file current has at the top (for 7.5.1):
<div>
<h1>
<fmt>
<fmt>
<fmt>
</fmt>
</h1>

<div>
<p>
<fmt> <fmt>
</p>
</div>
</div>

What does yours have?

--
Rich Kulp
Rational Asset Manager developer

permanent link
pan tianming (4765644) | answered Feb 09 '12, 9:47 p.m.
Thank you, Rich & ebordeau, I have updated our homeContent.jspf file to your style, also updated the fmt paramter , now it works well.

But I found another similar problem is some blurb message are missing.
In our page , we used your new_blurb_7_title, new_blurb_8_title and new_blurb_9_title.

I notice in your 7.2 version, it includes new_blurb_1_title until new_blurb_15_title.
But right now in 7.5 version, it only includes new_blurb_1_title until new_blurb_6_title.

How we can get the other three blurb translate message?
Thanks.

permanent link
Rich Kulp (3.6k38) | answered Feb 10 '12, 9:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
On 2/10/2012 9:29 AM, Rich Kulp wrote:
We only put what is necessary to say what is new over the previous
version. For 7.5 we only needed 6 entries so that is all there is. There
is no need for more. For 7.2 we had 15 new things to announce.

Excuse me, 7.2 had 9 new entries.


--
Rich Kulp
Rational Asset Manager developer

permanent link
Rich Kulp (3.6k38) | answered Feb 10 '12, 9:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
We only put what is necessary to say what is new over the previous
version. For 7.5 we only needed 6 entries so that is all there is. There
is no need for more. For 7.2 we had 15 new things to announce.

--
Rich Kulp
Rational Asset Manager developer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.