I want to localize my application. Currently I achieved this by using two locales. I have few messages that are common in both the locales. (currently i have entries in both the properties file) I want to keep the common messages in one locale. So my flex application will search a particular locale and if the key value pair is not found it should search the default locale.
How can i achieve this.
Kindly help me
You can use ResourceManager and its localeChain (or something like that), I believe.
The localeChain is used in case you have some words whose spelling vary for the same language. E.g color in American will be replaced by colour in British but 99% of words will be the same. So, only the words that are different will be listed in the subsequent locales. Most words will be located in the first locale.
E.g a locale chain could be: en_US, en_CA, en_UK, en_AU, en_NZ, en_ZA, en_IN