Creating a flex application in flex builder that will be available in two languages i.e. in English and German.
Challenges:
Create the resource file:
\locale\en_US\resource.properties
\locale\de\resource.properties
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.
Solution:
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.
Related Posts:
Dynamically Repeating Control/Container in Adobe FlexIntroduction Used for repeating simple UI components Repetition can be controlled by an array Repeater components look like containers in the code but they are not containers Repeaters don’t have automatic lay… Read More
Flex – Multi View Design PatternProblem Need to develop a flex web application which is going to be deployed in different environment say in mobile and web. Need to come up with different views for different devices and for different resolution. But… Read More
Use of Flex in Web ApplicationsAbstract:
Flex is a highly productive, free open source framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops, and operating systems. While Flex applicatio… Read More
Silverlight Vs JavaFX Vs Flex/AIRNote : This Comparison is done for the Alpha version of JavaFX.
The RIA world has been seeing intensified competition since last year's releases of Microsoft Silverlight and Sun JavaFX, which joined the Adobe Flex/AIR to beco… Read More
Dynamically Repeating Control/Container in Adobe FlexIntroduction Used for repeating simple UI components Repetition can be controlled by an array Repeater components look like containers in the code but they are not containers Repeaters don’t have automatic lay… Read More
1 comments:
Good information.
Post a Comment