goyalrich Posted March 3, 2014 Share Posted March 3, 2014 Hello, I am using domains to create adhoc views and reports. I have a database fields "Reason", and it has value like resonForIssue,reasonForCancel. This value is stored in DB so that it can be localised on the UI.Now I want to use this field "Reason" in adhoc views and reports. How can I provide it translation? I mean how can I localise the field values? Is there any way? Link to comment Share on other sites More sharing options...
elizam Posted March 3, 2014 Share Posted March 3, 2014 You can provide tranlations for the labels, like translation for "Reason" - that's described in the user guide here: http://community.jaspersoft.com/documentation/jasperreports-server-user-guide/v550/locale-bundles. Link to comment Share on other sites More sharing options...
hozawa Posted March 3, 2014 Share Posted March 3, 2014 Start from the following page:http://community.jaspersoft.com/documentation/jasperreports-server-user-guide/v550/locale-bundles sample at SuperMart Domain:http://community.jaspersoft.com/documentation/jasperreports-server-user-guide/v550/sample-domains Link to comment Share on other sites More sharing options...
goyalrich Posted March 4, 2014 Author Share Posted March 4, 2014 I think my quetion has been misunderstood. I am able to loclaise the label, name of the column.But I want to localise the values of the columns..how Can I do that? Link to comment Share on other sites More sharing options...
Nikhilesh_1 Posted March 4, 2014 Share Posted March 4, 2014 Please check this blog in case if it can be helpfulhttp://helicaltech.com/internationalization-of-jasper-reports-hello-world-example/ Link to comment Share on other sites More sharing options...
goyalrich Posted March 4, 2014 Author Share Posted March 4, 2014 Nopes it didnt. It could have been useful if I was using iReport. I am creating domain, then I want the localised column values in Adhoc views and reports generated from that domain. I tried using caluclated field as $R(fully_qualified_field_name), but this give the exception, because jasper is not translating it, and sending $R in the query to oracle. Please check if this can be done, Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now