String expression functions
From Agility
String expression functions
This chapter contains description of all string expression functions.
TranslateTo
Function translateTo works similar to translate function but allows to specify Language. Usage Example:
- TRANSLATETO(null,"Click to display work order history")
- TRANSLATETO(5006,"Click to display work order history")
- TRANSLATETO(5006,"Click to {0} work order {1}" , "display" , "history")
- TRANSLATETO( LOOKUP("DataBO.SystemData.LanguageBO", "syLanguage","Code","Polish","LanguageID") ,"Click to display work order history")
- TRANSLATETO("Polish","Click to {0} work order {1}" , "display" , "history") - Added because of few places where LOOKUP function cannot be used.
First parameter is languageID or languageCode, If null (or typo in LanguageCode ) then LoggedIn user languageID is taken into consideration. Second parameter is string to translate. Additional parameters are optional and used to format second parameter.