|reportContext.getMessage() syntax to behave like label/chart localization properties [message #985750]
||Thu, 15 November 2012 18:04
| Tom Yamada
Registered: July 2009
This concerns an issue I am seeing in an application using BIRT 2.5.2.|
The labels and chart series titles are set by property keys and translate correctly. However the places where the design is using reportContext.getMessage("keyval") are not translating.
I've done some searching and see that the getMessage() call accepts a second argument which is a locale. Since the browser locale is being used in the label localization I expect that the desired locale is available for use in code.
Is this what is returned by the reportContext.getLocale() call? I do not have access to a test environment to test this myself or I would! Thanks.
Powered by FUDForum
. Page generated in 0.07372 seconds