From: Adam Gustavsson <adam.gustavsson@ti...> - 2003-11-12 15:15:26
I use JasperReports in a web environment.
I need to have the static text in the reports shown in the language of
the user. i.e. I need to have an internationalization mechanism.
My first idea is to pass the language of the user and a
resource-property object as parameters in the parametermap to the
What classes do I have to change to make this work?
i am having trouble getting jasperreports to use different property
files based on the Locale object.
even though i set the JRParameter.REPORT_LOCALE parameter explicitly,
it seems to be ignored, and the report always chooses the default
i searched the forum archives but cannot find any similar threads about
fyi, i am using jasperreports-0.6.4.jar and i am trying to produce a
PDF file by calling JasperRunManager.runReportToPdf().
also, i am running WinXP and when i changed the regional settings (for
the operating system) to French, then the report seemed to use the
French property file! however, how can we arbitrarily control this by
code (and not by depending on the user's OS language setting)?
any help is appreciated. please and thanks.
Do you Yahoo!?
Make Yahoo! your home page
Get latest updates about Open Source Projects, Conferences and News.