Configure locale for report

0

I have a field in my report whose value generated by expression - new SimpleDateFormat("EEEE dd MMMMM yyyy").format(new java.util.Date()).

How to make that day of the week was in Russian (or other language, except English)?

shuhovivan's picture
Joined: Feb 10 2017 - 1:56am
Last seen: 3 years 2 months ago

1 Answer:

0

You can use Resource Bundle to create different localized reports. Following page has a sample of using $R{} syntax.

http://jasperreports.sourceforge.net/sample.reference/i18n/index.html

hozawa's picture
66680
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 5 months ago
Feedback
randomness