aodz

Multi Language-Support in flex

Posted on: December 4, 2008


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.

Sourcedemo ]

3 Responses to "Multi Language-Support in flex"

I build your sample bat get an error
Unable to resolve resource bundle “myResources” for locale “en_US”.

please help me.

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

Leave a reply to Huan Cancel reply

I have moved to a different location

check out my new home Flexout

calendar

December 2008
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Blog Stat

  • 85,306 Hop's so far!!!

Archives

Linkedin Blogger Twitter Youtube Orkut

Top Clicks

  • None

latest flickr photos

top rated