Versions Compared

Key

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

...

Will translate the value according to the application running and the current user's locale. Can additionally have extra parameters which will not be translated

Syntax

translate(value, arg1arg0,.....argN)

ArgumentTypeDescription
valueStringA string of characters to be translated
arg1arg0...NStringA collection of strings which will replace the characters "%s{n}" in the final translations

...


Returns the string "Docteurs Fred et Sally" where the current user has the locale France, with the language "French (FR_fr)", and the application has a translation table which translates "Doctors" to "Docteurs {0}s et {1}" for the language "French(FR_fr)".

Returns the string "Docteurs Sally et Fred" where the current user has the locale France, with the language "French (FR_fr)", and the application has a translation table which translates "Doctors" to "Docteurs %s et %s{1}s et {0}" for the language "French(FR_fr)".

...