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 ]

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

I have moved to a different location

check out my new home Flexout

calendar

December 2008
M T W T F S S
« Oct   Jan »
1234567
891011121314
15161718192021
22232425262728
293031  

Blog Stat

  • 83,703 Hop's so far!!!

follow me

Archives

Linkedin Blogger Twitter Youtube Orkut

Top Clicks

  • None

latest flickr photos

top rated

%d bloggers like this: