Skip to content

Localization

Warning

Developers (members of Developers group) will always have user interface in English.

NodeActa simplifies system localization to the fullest extent. Localization is performed via system app System Management→Localization (see the picture below).

localization

Every label used in the system configuration or i18n string in code, will automatically pop-up in the Messages window on first use. Double-clicking a message automatically adds it to the Localization data class, making it accessible in the Localization app (see the picture below).

detected localization

To use i18n strings in javascript just add L or i18n in front of your template strings.

L`This is an example of localized string.` 

// this one gives localization resource as 'Example with a variable {0}.'
L`Example with a variable ${my_val}.` 

Note

Remember that i18n strings do not use a single quotation mark (') but a backtick (`).

Note

All i18n strings in the JavaScript code should be in English. These strings will be automatically added as English localizations and serve as localization identifiers.