Label translation

You maybe use, in a report, a label in a method display ?

But when you print the message, the message still in the laguage of the user !

For change this, you can have two way :

element.design().lookupLabel(literalStr("@SYS1"), [Language_id]);

The language_id is the language of the report, but if you want, you can force a language.

Or the second, maybe more general :

SysLabel::labelId2String(literalstr('@SYS1'), 'fr');