Translates a text to the active user's language. If no translation is found the text is returned untranslated
string Translate(string keyText; [bool caseSensitive])
keyText |
A text to translate. |
caseSensitive |
Optional argument to control if the translation shall be case sensitive or not. The default value is true. |
Examples
Translate("Delivery terms")
Translates the text "Delivery terms" to the user's language.
Translate("5 {weeks}")
Provided that "replacement control" has been activated the text "weeks" is translated meanwhile "5 " is left untranslated.