Versions Compared

Key

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

...

In some cases you may need access to localization texts in scripting environment. For example updating task instruction dynamically with localized equivalent.

Localization entries are stored in $Localization object and accessed in following format:

Code Block
languagejs
$Localization.<Group>.<Source Text>

Group
Name of localization group. You can find group name from "Group" column in localization list.

Source Text
Key of localization entry. All of non valid characters like spaces or punctuation characters (e.g. %, ?, - ) are removed and keys are generated only from a-z or A-Z or 0-9 characters.

For example you can use following keys:

Code Block
languagejs
$Localization.Label.Owner;
 
$Localization.Label.NameSurname;

 Please see $Localization section for more details.