web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Getting label text in different languages

Volodymyr Giginiak Profile Picture Volodymyr Giginiak
Sometimes it is needed to get a label text in a language that is different from the current one. To do that the labelId2String method of the SysLabel class can be used.
Example:
SysLabel::labelId2String(literalstr('@SYS1'), 'en-us');
Gives: Time transactions
SysLabel::labelId2String(literalstr('@SYS1'), 'de');
Gives: Zeit Transaktionen

This was originally posted here.

Comments

*This post is locked for comments