Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
To support language localization on application level.
Code Block |
---|
i18n |
Code Block |
---|
#i18n.app.hello# |
In your App's properties, you may add your own messages. For example, we can have two messages in Chinese and English for the key "app.hello".
Figure 1: Listing of messages in your app's properties
In your Userview, you may access the value by using this internationalization hash variable, #i18n.app.hello#. You may also use this hash variable in places such as plugin properties, form builder, and datalist builder.
Figure 2: Using Internationalization hash variable in the Userview Builder.
Depending on the choice of locale the user is in, the message will be displayed accordingly.
Figure 3: Preview of Hash Variable in Userview