Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Localization
kosta
Hello BIRT community,
I want to use localization for some text items.
Form the book I can see that the localization key is bound to the text report item. That means that I can use this method if I want to translate whole Text Item.
But how do I translate only part of it. And what happens to the parameters that are invokes into the text item.
Thank you for any suggestions or examples.
Find more posts tagged with
Comments
mwilliams
Kosta,
You could do something like this:
importPackage(Packages.java.util);
var lc = new Locale("de_DE");
var mypartialtext = reportContext.getMessage("text1", lc);
You can do it in script or in an expression builder.