|
Tutorial: Internationalization in ELIPS
Resource bundle is a great way to separate locale-related content from the rest of your code. Working with resource bundle in ELIPS is relatively easy as it is based on the original Flex 3.5 mechanism save few tricks you should know about. Follow this tutorial in order to internationalize your app. You can also refer to the i18n sample application. Setting up your project
IMPORTANT NOTE REGARDING LOCALES
In ELIPS, the locale code is on 3_2 (ex: eng_US) characters instead of the 2_2 (ex: en_US) as used in Flex. Editing the properties filesThe properties file is what the compiler uses to make the resource bundle. It is made up of simple key/value pairs, key being used for reference in your code and value being the translated string for the locale.
NOTE
Make sure to save your properties file using the UTF8 encoding if your are dealing with languages requiring such encoding like French for instance. In flex builder, go to "File"->"Properties" then set the "Text file encoding" to UTF8 then "apply". You may need to clean your project for the change to be taken into account. Using the Resource Bundles
Be sure to check the i18n sample application for an example. |
Login
Commercial Release!
Event: ELIPS Studio at FITC Mobile Toronto 17-18 September - Read More...
Alcatel-Lucent acquires OpenPlug: a message from our CEO - Read More...
OpenPlug at FITC SF: a roundup - Read More...
Quick Links
|