Multi Language-Support in flex
Posted December 4, 2008
on:- In: flex
- 3 Comments
Make flexible multilanguage applications independent of number of included languages without changing client-side source code when new language is added.
Create component which will receive data for numerous of languages and make data available trough keyword from every place in the application. On server side you can use file that contains data for different language or you can also use a database. You can also make array with multilanguage data inside of application.
following is the sample to show how you can have multi language support in your application. In my example i have used resource bundles as its easy to manage. A bundle is exactly similar to a dictonary there is a key value pair mapping done and the data is replaced for the same key from different resource bundles. thus enabling us to change the language in the entire application.
3 Responses to "Multi Language-Support in flex"
The same result
Unable to resolve resource bundle “myResources”
-locale=en_US,fr_FR -source-path=locale/{locale} -allow-source-path-overlap=true
Replace the above line in you compiler arguments
1 | Huan
December 2, 2009 at 4:16 am
I build your sample bat get an error
Unable to resolve resource bundle “myResources” for locale “en_US”.
please help me.