Difference between revisions of "String expression functions"
From Agility
(Created page with "=String expression functions= This chapter contains description of all string expression functions. ==TranslateTo== Added new function translateTo which work similar to...") |
(→String expression functions) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
This chapter contains description of all string expression functions. | This chapter contains description of all string expression functions. | ||
==TranslateTo== | ==TranslateTo== | ||
| − | + | Function translateTo works similar to translate function but allows to specify Language. Usage Example: | |
#TRANSLATETO(null,"Click to display work order history") | #TRANSLATETO(null,"Click to display work order history") | ||
Latest revision as of 09:31, 19 July 2016
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.