Difference between revisions of "String expression functions"

From Agility
Jump to: navigation, search
(TranslateTo)
(String expression functions)
 
Line 1: Line 1:
=String expression functions=
 
 
This chapter contains description of all string expression functions.   
 
This chapter contains description of all string expression functions.   
  

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:

  1. TRANSLATETO(null,"Click to display work order history")
  2. TRANSLATETO(5006,"Click to display work order history")
  3. TRANSLATETO(5006,"Click to {0} work order {1}" , "display" , "history")
  4. TRANSLATETO( LOOKUP("DataBO.SystemData.LanguageBO", "syLanguage","Code","Polish","LanguageID") ,"Click to display work order history")
  5. 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.