Title: i18n - Resource Bundle
THanks Raffi for the prompt and exact reply.
 
Can you please elaborate more on...
 
If you place these files in a directory (say catalog) and place the root directory (which contains the catalog) in classpath,
then you need to mention as "catalog\propFileName", similar as the package name conventions.
 
Where do I need to mention above thing ?
-----Original Message-----
From: S, Mohamed Raffi (Mohamed) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 7:53 PM
To: Kalpesh Chordia; 'jasperreports-questions@lists.sourceforge.net'
Subject: RE: [jasperreports-questions] i18n - Resource Bundle

Hi Kalpesh,
1) You can Localize your reports to the any language without any modification in the report layout.
2) Properties should be in classpath.
3) Standard Java i18n conventions
 
i18n1.properties
i18n1_de_DE.properties
i18n1_fr_FR.properties
 
If you place these files in a directory (say catalog) and place the root directory (which contains the catalog) in classpath,
then you need to mention as "catalog\propFileName", simillar as the package name conventions.
 
And you can access the catalog values using $R{} convention or str() function.
 
Refer the samples in the jasperReports for more details. Location: "jasperreports-X.X.X\demo\samples\i18n"
 
Regards,
Raffi
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Kalpesh Chordia
Sent: Thursday, June 22, 2006 7:43 PM
To: 'jasperreports-questions@lists.sourceforge.net'
Subject: [jasperreports-questions] i18n - Resource Bundle

Hi,

We are trying to evaluate i18n sample provided with the latest version 1.2.3

1. What is the importance of resourceBundle="i18n" in
<jasperReport name="I18nReport" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" resourceBundle="i18n"> ?

2. Where should the properties files be placed ?

3. What are the naming conventions for these properties files ?


Thanks,
Kalpesh

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to