Versions Compared

Key

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

Localization feature allows you to run your processes in other languages. In emakin every started workflow instance has an a culture identifier that specifies the language of a workflow instance. It set from sets as a preference of the initiator user when a an instance has been started, and cannot be changed later. 

Instance culture specifies the language of displayed labels in forms but it does not change cultural information like number formats or date formats. This kind of formatting respects to the active user preferences.

In emakin, designed process language is not important, you can use any language to design. After a design is completed, or an a change is applied, you can open the localization editor from process a designer.

Image Removed

After a localization editor is opened you can add any other languages with "Add New" button and select language to localize the process.

Image Removed

Each added language has an 2 letter identifier of language. List of language identifier can be found at List of ISO 639-1 codes 

After a language is added, you can click to "Details" button to edit localization texts. Emakin will be scan your process processes and list of texts to localize. Non localized texts will be marked as red but it's not mandatory. If do not localize original string is if they're mandatory, if not original string will be used.

Image Removed

After localization is completed, depending on the active user language, preference process will be displayed and run in localized language.

...

In some cases you may need access to the localization texts in a 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.