Home Analytics Designing reports
The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

Set localization based on value in dataset

I have a report that is creating a shipping document. Based on the value of the postal area I want to define whether the literals on the document should be in English or French. The idea is to use the localization parameter file for en_US and fr and somehow define when to use what language file (maybe via JavaScript?)

Any ideas how to achieve this?


BIRT 4.3.1

locale de_DE


  • Nobody an idea?

    BIRT 4.3.1

    locale de_DE

  • edited June 19, 2018

    I don't know how to do what you are asking, but I have a couple of ideas. First, if it is just two languages, it might be easier to ignore the locale files and do it all in JavaScript. You are going to need to create key-value pairs for each label for each language even if you use localization. For two languages it doesn't buy you much. You could put the code in a JavaScript resource file so that it is easy to maintain.

    For the second idea, I know you can get the locale from this code:


    I don't know how to change the locale, but maybe you can take a look at it and see if there is a way. If you have the ability to open a support ticket, I suggest opening one for this issue.

    Jeff F.
    Sr. Technical Support Specialist
Sign In or Register to comment.