maiolif Posted January 28, 2019 Share Posted January 28, 2019 hello,I translated some resorces as static test (i.e. label names) using $R and translation files.It works but I want to print my report with a language that can vary dynamically from the datasource.For instance, I will print a sale offer in the customer language, so that the report Language and locale should be passed as a parameter.is there anybody here that knows how to do?thanks in advance Link to comment Share on other sites More sharing options...
hozawa Posted January 28, 2019 Share Posted January 28, 2019 Instead of using $R with translation files, have you tried putting label text in the database table and using text fields and using custom scriplets to change change text field content? Link to comment Share on other sites More sharing options...
maiolif Posted January 30, 2019 Author Share Posted January 30, 2019 That was the second option. And it's working. For instance, product names are already translated into English tables and I already get the result. I was just looking for something easier. 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