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:
Multilingual Application Tips for Flex ProgrammersCreating 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 … 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 application… 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
Traversing the RIA landscape with FLEXAbstractAdobe Flex is a complete, powerful application development and deployment solution for creating and delivering cross-platform Rich Internet Applications (RIAs).Adobe had partnered with SAP, BO, Oracle, and Salesforce.… Read More
PDF generation using flex LCDs and Life Cycle Designer toolAbout Life Cycle Designer: This tool is use to design the PDF template. This template is constructed using components library provided by this designer tool. The file should be saved as PDF file with dynamic XML binding optio… Read More
1 comments:
Good information.
Post a Comment