Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » how to change this prompt for each supported language - birt.viewer.progressbar.prompt (birt.viewer.progressbar.prompt)
how to change this prompt for each supported language - birt.viewer.progressbar.prompt [message #924047] Wed, 26 September 2012 12:50 Go to next message
Anthony Farrell is currently offline Anthony Farrell
Messages: 29
Registered: August 2012
Junior Member
We have localised 50 charts in our app for 8 tier 1 languages.


How can the progress bar message be change to display correctly for each supported language, the property is


how to change this prompt for each supported language

<%= BirtResources.getMessage( "birt.viewer.progressbar.prompt" )%>

and its read from the ProgressBarFragment.jsp.


Many thanks.
Re: how to change this prompt for each supported language - birt.viewer.progressbar.prompt [message #924413 is a reply to message #924047] Wed, 26 September 2012 20:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this thread first. It may already have the appropriate language translated for you:
http://www.eclipse.org/forums/index.php/mv/msg/173189/551141/

That message is read from the messages.properties file located in the viewerservlets.jar file(viewservlets.jar\org\eclipse\birt\report\resource\) you should be able to create a message file for the locale and put it in a jar in the web-inf/lib. Also look at the language files you can download for BIRT
http://download.eclipse.org/birt/downloads/lang.php?build=R-R1-4_2_0-201206131143

Jason
Re: how to change this prompt for each supported language - birt.viewer.progressbar.prompt [message #933865 is a reply to message #924413] Fri, 05 October 2012 12:10 Go to previous messageGo to next message
Anthony Farrell is currently offline Anthony Farrell
Messages: 29
Registered: August 2012
Junior Member
Just replying to this post to close it out.

We are using the BIRT 2.6.1 Viewer.

Applying the following steps, allowed the AJAX progress bar to be localised.


From the following URL:

http://archive.eclipse.org/technology/babel/babel_language_packs/R0.9.0/galileo/galileo.php


We opened each of the language packs for tier 1 languages, e,g,

BabelLanguagePack-birt-zh_3.5.0.v20110723105825.zip (99.76%)


We ended up with the following list of language pack files, these files were placed in the WEB-INF\lib folder.
org.eclipse.birt.report.viewer.nl_de_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_es_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_fr_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_it_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_ja_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_ko_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_pt_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_pt_BR_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_zh_3.5.0.v20110723105825.jar
org.eclipse.birt.report.viewer.nl_zh_TW_3.5.0.v20110723105825.jar


Re: how to change this prompt for each supported language - birt.viewer.progressbar.prompt [message #934170 is a reply to message #933865] Fri, 05 October 2012 18:21 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Thanks for posting your resolution.


Jason
Previous Topic:Changing the &XML Data Source File dynamically
Next Topic: BIRT report for MYSQL database
Goto Forum:
  


Current Time: Sat Sep 20 20:05:20 GMT 2014

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

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