Function: translate()
Will translate the value according to the application running and the current user's locale
Syntax
translate(value)
Argument | Type | Description |
---|---|---|
value | String | A string of characters to be translated |
Examples
translate("Monday")
Returns the string "Lundi" where the current user has the locale France, with the language "French (FR_fr)", and the application has a translation table which translates "Monday" to "Lundi" for the language "French (Fr_fr)" .
Returns the string "Montag" where the current user has the locale Germany, with the language "German(DE_de)" and the application has a translation table which translates "Monday" to "Montag" for the language "German(DE_de)".