Localization (Translation)
Solutions can easily be translated into any language by using the Text Locale property and creating a translation file with the translated text in Jigx Builder. On the device, use the Profile>Settings>Language option and select Device (Respects device settings). To understand how to configure localization in Jigx see Localization.
Configuration options
text Locale
id- provide a unique identifier for the property to be translated.values- create context variables with values to use in the translation file. This is useful when creating dynamic content.defaultMessage- If no translation is found for the active device's language, it will either fallback to the specifieddefaultMessageor, if one is not specified, to English.
Examples and code snippets
Form localized in five languages with static values
In this example, the new employee form is translated into German, French, and Czech. To see the form in each of the languages change your device language setting to one of the configured languages.
Examples: See the jig example in GitHub. See the translation file examples in GitHub.
Jig translated into German with dynamic values
In this example, a jigwith today's activites is translated into German. The translation is configured dynamically agains the Text Locale values. To see the form in each of the languages change your device language setting to one of the configured languages.
Examples: See the jig example in GitHub. See the translation file examples in GitHub.
Last updated
Was this helpful?