Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Birt Web Viewer Internationalization
Birt Web Viewer Internationalization [message #551141] Thu, 05 August 2010 12:27 Go to next message
Árisson Leal is currently offline Árisson LealFriend
Messages: 4
Registered: August 2010
Junior Member
Hi,

I have the birt web viewer deployed with my web app and i want translate all text to the Brazilian portuguese language.

I've put all jars available in the NLpack1-birt-runtime-2_5_0.zip (http://download.eclipse.org/birt/downloads/lang2.5.php) in to the corresponding directories in my web app and i changed the value for the BIRT_VIEWER_LOCALE param to pt_BR, but my birt web viewer still appears in english.

What could be wrong?

Re: Birt Web Viewer Internationalization [message #551202 is a reply to message #551141] Thu, 05 August 2010 15:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

What is the locale you are setting?
In that pack I believe it supports
de_DE
es_ES
fr_FR
ja_JP
ko_KR
zh_CN

Jason

On 8/5/2010 8:27 AM, Árisson Leal wrote:
> Hi,
>
> I have the birt web viewer deployed with my web app and i want translate
> all text to the Brazilian portuguese language.
>
> I've put all jars available in the NLpack1-birt-runtime-2_5_0.zip
> (http://download.eclipse.org/birt/downloads/lang2.5.php) in to the
> corresponding directories in my web app and i changed the value for the
> BIRT_VIEWER_LOCALE param to pt_BR, but my birt web viewer still appears
> in english.
>
> What could be wrong?
>
>
Re: Birt Web Viewer Internationalization [message #551235 is a reply to message #551202] Thu, 05 August 2010 17:05 Go to previous messageGo to next message
Árisson Leal is currently offline Árisson LealFriend
Messages: 4
Registered: August 2010
Junior Member
NLpack1 - Contains the NL fragments and the NL features that contain those fragments for: German, Spanish, French, Italian, Japanese, Korean, Portuguese (Brazil), Traditional Chinese and Simplified Chinese.

I try pt_BR but don't work.

This is the right pack, isn't ?
Re: Birt Web Viewer Internationalization [message #551251 is a reply to message #551235] Thu, 05 August 2010 17:27 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Does not look like its in that pack. Can you try the 2a pack?
Also we are trying to move everything to Babel, so if you look at this link

http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php

You will find this download
BabelLanguagePack-birt-pt_BR_3.5.0.v20091121043401

If you extract it you can find the viewer properties file for pt_BR:
BabelLanguagePack-birt-pt_BR_3.5.0.v20091121043401\eclipse\p lugins
org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v2009112104340 1.jar

Jason

On 8/5/2010 1:05 PM, Árisson Leal wrote:
> NLpack1 - Contains the NL fragments and the NL features that contain
> those fragments for: German, Spanish, French, Italian, Japanese, Korean,
> Portuguese (Brazil), Traditional Chinese and Simplified Chinese.
> I try pt_BR but don't work.
>
> This is the right pack, isn't ?
Re: Birt Web Viewer Internationalization [message #551261 is a reply to message #551251] Thu, 05 August 2010 18:20 Go to previous messageGo to next message
Árisson Leal is currently offline Árisson LealFriend
Messages: 4
Registered: August 2010
Junior Member
Hi Jason,

I tried the BabelLanguagePack-birt-pt_BR_3.5.0.v20091121043401 but still appears in english.

any clue?
Re: Birt Web Viewer Internationalization [message #551458 is a reply to message #551261] Fri, 06 August 2010 14:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

What I did what extracted the babel language package and copied:
BabelLanguagePack-birt-pt_BR_3.5.0.v20091121043401\eclipse\p lugins\
org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v2009112104340 1

to

WebViewerExample\WEB-INF\lib

and set my locale on the url to pt_BR and it worked.

Jason


On 8/5/2010 2:20 PM, Árisson Leal wrote:
> Hi Jason,
>
> I tried the BabelLanguagePack-birt-pt_BR_3.5.0.v20091121043401 but still
> appears in english.
> any clue?
Re: Birt Web Viewer Internationalization [message #551462 is a reply to message #551458] Fri, 06 August 2010 14:29 Go to previous messageGo to next message
Árisson Leal is currently offline Árisson LealFriend
Messages: 4
Registered: August 2010
Junior Member
Hi Jason,

I was doing the wrong way, but now works fine.

Thanks a lot!
Re: Birt Web Viewer Internationalization [message #740377 is a reply to message #551462] Tue, 18 October 2011 12:48 Go to previous messageGo to next message
Ulrich  is currently offline Ulrich Friend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I am stuck with the same problem at BIRT version 3.7.1.
The labels of my own report are adapted to the locale, but the viewer's labels aren't.

What I have done: copied all the jars of the eclipse plugin like org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to WEB-INF/lib.
Use __locale parameter, changed language of browser, parameter in web.xml.
Still the labels in the viewer are in English.
Extracted viewer_pt_BR.properties to WEB-INF. However, it does not contain strings like "Showing page". I checked the jsp page for the keys it uses, e.g.
birt.viewer.navbar.lable.goto
Included that with and without "birt." in the extracted viewer_pt_BR.properties.

Still all in English ...

Thanks
Re: Birt Web Viewer Internationalization [message #740517 is a reply to message #740377] Tue, 18 October 2011 15:43 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Ulrich,

Can you try the one from the galileo package. It seemed to work for me
with 3.7, and none of the labels have changed in the viewer.
http://download.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php

Seems like the latest Babel packs do not contain the viewer tags.

Jason

On 10/18/2011 8:48 AM, Ulrich wrote:
> Hi,
>
> I am stuck with the same problem at BIRT version 3.7.1.
> The labels of my own report are adapted to the locale, but the viewer's
> labels aren't.
>
> What I have done: copied all the jars of the eclipse plugin like
> org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to
> WEB-INF/lib.
> Use __locale parameter, changed language of browser, parameter in web.xml.
> Still the labels in the viewer are in English.
> Extracted viewer_pt_BR.properties to WEB-INF. However, it does not
> contain strings like "Showing page". I checked the jsp page for the keys
> it uses, e.g.
> birt.viewer.navbar.lable.goto
> Included that with and without "birt." in the extracted
> viewer_pt_BR.properties.
>
> Still all in English ...
>
> Thanks
>
Re: Birt Web Viewer Internationalization [message #740528 is a reply to message #740517] Tue, 18 October 2011 15:53 Go to previous messageGo to next message
Eclipse UserFriend
18.10.2011 18:43, Jason Weathersby kirjoitti:
> Ulrich,
>
> Can you try the one from the galileo package. It seemed to work for me
> with 3.7, and none of the labels have changed in the viewer.
> http://download.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php
>
>
> Seems like the latest Babel packs do not contain the viewer tags.
>
> Jason
>

There are lots of zipfiles in that folder for one language. Do they all
need to be added, or only one of them, to get the WebViewer localized?

br
jarif


> On 10/18/2011 8:48 AM, Ulrich wrote:
>> Hi,
>>
>> I am stuck with the same problem at BIRT version 3.7.1.
>> The labels of my own report are adapted to the locale, but the viewer's
>> labels aren't.
>>
>> What I have done: copied all the jars of the eclipse plugin like
>> org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to
>> WEB-INF/lib.
>> Use __locale parameter, changed language of browser, parameter in
>> web.xml.
>> Still the labels in the viewer are in English.
>> Extracted viewer_pt_BR.properties to WEB-INF. However, it does not
>> contain strings like "Showing page". I checked the jsp page for the keys
>> it uses, e.g.
>> birt.viewer.navbar.lable.goto
>> Included that with and without "birt." in the extracted
>> viewer_pt_BR.properties.
>>
>> Still all in English ...
>>
>> Thanks
>>
>


--

You have an unusual understanding of the problems of human relationships.
Re: Birt Web Viewer Internationalization [message #740546 is a reply to message #740528] Tue, 18 October 2011 16:16 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Should be this file:
org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v20110723105825.jar

Jason

On 10/18/2011 11:53 AM, Donkey Hottie wrote:
> 18.10.2011 18:43, Jason Weathersby kirjoitti:
>> Ulrich,
>>
>> Can you try the one from the galileo package. It seemed to work for me
>> with 3.7, and none of the labels have changed in the viewer.
>> http://download.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php
>>
>>
>> Seems like the latest Babel packs do not contain the viewer tags.
>>
>> Jason
>>
>
> There are lots of zipfiles in that folder for one language. Do they all
> need to be added, or only one of them, to get the WebViewer localized?
>
> br
> jarif
>
>
>> On 10/18/2011 8:48 AM, Ulrich wrote:
>>> Hi,
>>>
>>> I am stuck with the same problem at BIRT version 3.7.1.
>>> The labels of my own report are adapted to the locale, but the viewer's
>>> labels aren't.
>>>
>>> What I have done: copied all the jars of the eclipse plugin like
>>> org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to
>>> WEB-INF/lib.
>>> Use __locale parameter, changed language of browser, parameter in
>>> web.xml.
>>> Still the labels in the viewer are in English.
>>> Extracted viewer_pt_BR.properties to WEB-INF. However, it does not
>>> contain strings like "Showing page". I checked the jsp page for the keys
>>> it uses, e.g.
>>> birt.viewer.navbar.lable.goto
>>> Included that with and without "birt." in the extracted
>>> viewer_pt_BR.properties.
>>>
>>> Still all in English ...
>>>
>>> Thanks
>>>
>>
>
>
Re: Birt Web Viewer Internationalization [message #740573 is a reply to message #740546] Tue, 18 October 2011 17:00 Go to previous messageGo to next message
Eclipse UserFriend
18.10.2011 19:16, Jason Weathersby kirjoitti:
> Should be this file:
> org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v20110723105825.jar
>
> Jason

I dropped org.eclipse.birt.report.viewer.nl_fi_3.5.0.v20110723105825.jar

to WEB-INF/lib and nothing changed (BIRT 3.7.1 WebViewer)

The report content is in Finnish, but not the Viewer.

>
> On 10/18/2011 11:53 AM, Donkey Hottie wrote:
>> 18.10.2011 18:43, Jason Weathersby kirjoitti:
>>> Ulrich,
>>>
>>> Can you try the one from the galileo package. It seemed to work for me
>>> with 3.7, and none of the labels have changed in the viewer.
>>> http://download.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php
>>>
>>>
>>>
>>> Seems like the latest Babel packs do not contain the viewer tags.
>>>
>>> Jason
>>>
>>
>> There are lots of zipfiles in that folder for one language. Do they all
>> need to be added, or only one of them, to get the WebViewer localized?
>>
>> br
>> jarif
>>
>>
>>> On 10/18/2011 8:48 AM, Ulrich wrote:
>>>> Hi,
>>>>
>>>> I am stuck with the same problem at BIRT version 3.7.1.
>>>> The labels of my own report are adapted to the locale, but the viewer's
>>>> labels aren't.
>>>>
>>>> What I have done: copied all the jars of the eclipse plugin like
>>>> org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to
>>>> WEB-INF/lib.
>>>> Use __locale parameter, changed language of browser, parameter in
>>>> web.xml.
>>>> Still the labels in the viewer are in English.
>>>> Extracted viewer_pt_BR.properties to WEB-INF. However, it does not
>>>> contain strings like "Showing page". I checked the jsp page for the
>>>> keys
>>>> it uses, e.g.
>>>> birt.viewer.navbar.lable.goto
>>>> Included that with and without "birt." in the extracted
>>>> viewer_pt_BR.properties.
>>>>
>>>> Still all in English ...
>>>>
>>>> Thanks
>>>>
>>>
>>
>>
>


--

FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #4
A: Go west, young man, go west!
Q: What do wabbits do when they get tiwed of wunning awound?
Re: Birt Web Viewer Internationalization [message #740637 is a reply to message #740573] Tue, 18 October 2011 18:30 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

It looks like the fi jar does not have all the messages in it:

ie BirtResources.getMessage( "birt.viewer.navbar.prompt.one" )

Jason

On 10/18/2011 1:00 PM, Donkey Hottie wrote:
> 18.10.2011 19:16, Jason Weathersby kirjoitti:
>> Should be this file:
>> org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v20110723105825.jar
>>
>> Jason
>
> I dropped org.eclipse.birt.report.viewer.nl_fi_3.5.0.v20110723105825.jar
>
> to WEB-INF/lib and nothing changed (BIRT 3.7.1 WebViewer)
>
> The report content is in Finnish, but not the Viewer.
>
>>
>> On 10/18/2011 11:53 AM, Donkey Hottie wrote:
>>> 18.10.2011 18:43, Jason Weathersby kirjoitti:
>>>> Ulrich,
>>>>
>>>> Can you try the one from the galileo package. It seemed to work for me
>>>> with 3.7, and none of the labels have changed in the viewer.
>>>> http://download.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php
>>>>
>>>>
>>>>
>>>> Seems like the latest Babel packs do not contain the viewer tags.
>>>>
>>>> Jason
>>>>
>>>
>>> There are lots of zipfiles in that folder for one language. Do they all
>>> need to be added, or only one of them, to get the WebViewer localized?
>>>
>>> br
>>> jarif
>>>
>>>
>>>> On 10/18/2011 8:48 AM, Ulrich wrote:
>>>>> Hi,
>>>>>
>>>>> I am stuck with the same problem at BIRT version 3.7.1.
>>>>> The labels of my own report are adapted to the locale, but the viewer's
>>>>> labels aren't.
>>>>>
>>>>> What I have done: copied all the jars of the eclipse plugin like
>>>>> org.eclipse.birt.report.viewer.nl_pt_BR_3.7.0.v20110723043401.jar to
>>>>> WEB-INF/lib.
>>>>> Use __locale parameter, changed language of browser, parameter in
>>>>> web.xml.
>>>>> Still the labels in the viewer are in English.
>>>>> Extracted viewer_pt_BR.properties to WEB-INF. However, it does not
>>>>> contain strings like "Showing page". I checked the jsp page for the
>>>>> keys
>>>>> it uses, e.g.
>>>>> birt.viewer.navbar.lable.goto
>>>>> Included that with and without "birt." in the extracted
>>>>> viewer_pt_BR.properties.
>>>>>
>>>>> Still all in English ...
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>
>>>
>>
>
>
Re: Birt Web Viewer Internationalization [message #741713 is a reply to message #740637] Wed, 19 October 2011 20:38 Go to previous messageGo to next message
Ulrich  is currently offline Ulrich Friend
Messages: 4
Registered: July 2009
Junior Member
Thanks for the replies.

At the end I decided to integrate Birt in a more direct way without the viewer.

Regards
Re: Birt Web Viewer Internationalization [message #933866 is a reply to message #741713] Fri, 05 October 2012 12:11 Go to previous message
Anthony Farrell is currently offline Anthony FarrellFriend
Messages: 29
Registered: August 2012
Junior Member
this worked.

http://www.eclipse.org/forums/index.php/m/933865/#msg_933865
Previous Topic:Integrated BIRT Report giving OCL errors
Next Topic:How to suppress a detail row based on the values from prev. row?
Goto Forum:
  


Current Time: Sun Dec 21 06:52:19 GMT 2014

Powered by FUDForum. Page generated in 0.02808 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software