Pentaho

 View Only

 i18n in report called from PDI

  • Pentaho
  • Pentaho
  • Pentaho Data Integration PDI
Antonio Petrella's profile image
Antonio Petrella posted 10-15-2021 13:29

Hi, I'm generating report through a Kettle Transformation (Pentaho reporting output component). Is there a way to trigger the appropriate i18n resource through a report input parameter?

 

I think the question can also be: is there a way to configure the environment variables of a report (I'm thinking about env::locale) from PDI before calling the report??

Antonio Petrella's profile image
Antonio Petrella

For these interested here's how I managed:

built on the fly the name of the resource file in the resource-identifier attribute using the input language parameter.