To make Internationalization/Localization for your Flex applications very easy
Lets split whole process by steps
1st Step: Compile framework resources for necessary language
go to you flex sdk’s bin directory and copy locale using copylocale.exe for your language
cd D:\Development\Flex\sdks\3.0.0\bin
copylocale.exe en_US nl_NL
copylocale.exe en_US ru_RU
copylocale.exe en_US ua_UA
copylocale.exe en_US nl_NL
copylocale.exe en_US ru_RU
copylocale.exe en_US ua_UA
2nd Step: Create language files
/locale/en_US/HR.properties
APP_TITLE=Hour Registration System
LANGUAGE_LABEL=Language:
en_US=English (U.S.)
nl_NL=Nederland
ru_RU=Russian
ua_UA=Ukrainian
LANGUAGE_LABEL=Language:
en_US=English (U.S.)
nl_NL=Nederland
ru_RU=Russian
ua_UA=Ukrainian
/locale/ru_RU/HR.properties
APP_TITLE=Hour Registration System
LANGUAGE_LABEL=
May 22nd, 2008 at 3:32 pm
don’t forget to set additional compiler arguments in Flex Builder!
I am using en_US locale by default.
In my case additional arguments will be:
-locale en_US -source-path=../locale/{locale}