Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt
hiddentrue

translateTo(language,value) Will translate the value according to the application running and the language supplied.

...

ArgumentTypeDescription
languageStringThe name short code of the language (to match what's in the translation tablesLanguage object).
valueStringA string of characters to be translated
arg0...NStringA collection of strings which will replace the characters "{n}" in the final translations

Examples

translateTo("Frenchfr_FR","Monday")

Returns the string "Lundi", where the application has a translation table which translates "Monday" to "Lundi" for the language "French (Fr_fr)" .


translate("Frenchfr_FR","Doctors","Fred", "Sally")

...