Oct 10, 2009

Multilingual Application Tips for Flex Programmers

Creating a flex application in flex builder that will be available in two languages i.e. in English and German.


Create the resource file:
Consider the following word:
for = for
for = für

When you compile the application and it defaults to English and comes up fine.

You change the compiler arguments in project properties to -locale de and run it and instead of an ü you get either a blank or a square.


The text encoding type of the resource.properties file in flex builder defaults to ISO-8859-I.

Cut all the text in the file and save it.

Go to the properties of the file and change the encoding to UTF-8.

Then paste your text back in and save the file.

Now when you compile and run, the letters should come up fine.


Anonymous said...

Good information.

Text Widget

Copyright © Vinay's Blog | Powered by Blogger

Design by | Blogger Theme by