Internationalization

Internationalization is the process of making software that accommodates differences in language, culture and hardware. Internationalization presents users with a consistent look, feel and functionality across different language editions of a product.

The XWT is internationalization support, in this section, we will move with an example to understand internationalization.

First thing we will require for internationalization is a set of properties files. Each file contains a key/value pair for each message that you expect your application to present. The naming format for these files are *.properties.

Besides, There need to a special java file for bind. The BUNDLE_NAME is a String type which specifies the path of the message.properties file. And also the key "title" in *.Properties file should be declaration here as String.

The text of the button is specified as "x:Static java:Message.title". It bind to the value of title which defined in message.properties file.