Recently I was looking into localization of my Flex project, not to support multiple language, but to support different server environment setup.
So I came up with two options:
- Using l10n property file:
- Create a locale directory right under the project.
- Add a sub directory under locale named with the locale you want to add.
- Repeat 2 and 3 if you have more locales to add.
- In mxml file add [ResourceBundle("<Resource File Name>")] to metadata.
- Passing environment variables as FlashVars:

Option 2 is obviously easier to setup. We don't need to add additional property files but reference existing resource setup in Java project.