When you create a jasper report process in iDempiere the CURRENT_LANG parameter is always being set to the login language (Except for documents, then the PrintFormat language is set which is correct).
Some reports want to be printed with the Business Partner's language, for example.
The system should allow the user to override this parameter by creating a jasper report process record with a parameter named CURRENT_LANG or AD_Language.
Steps to reproduce:
Login as System with English (USA) as the language
Pack in this file to have a configurable test process.
Open the created "Jasper OSGi Test" process record.
Create a new parameter with the DB Column Name = CURRENT_LANG or AD_Language -> System Element = AD_Language -> Reference = Table -> Reference Key = AD_Language System.
Open the "Jasper OSGi Test" process from the Menu
Set the Language parameter to Spanish (Colombia).
The process should take the parameter and print the title and subtitle in the report in Spanish.
The process prints the title and subtitle in English, no matter the value set on the Language parameter. If you want to see the title and subtitle in Spanish you have to logout and log back in.