You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

To support language localization on application level.

Prefix

i18n

Attributes

  • #i18n.keyName#

Sample Usage

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

  • No labels