Jump to content
JasperReports Library 7.0 is now available ×

Translation of field value


justamail

Recommended Posts

Hi all,

 

I've got a small issue with internalization and translation.

 

Small example :

 

A field can have 2 differents values : blocked or active.

 

In my report, I want to use internalization and translate the value in the correct language (for example in french : 'bloqué' or 'actif'). So I would like to have an expression like :

 

$R{$F{fieldname}}

 

This doesn't work.

I read in the iReport user guide that the key name between the two brackets of the $R{} is not translated during compilation.

 

Is there a solution for this kind of thing ?

 

Thanks.

 

Greg.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...