Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flex > Flex 2 & 3

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-15-2006, 07:37 AM   #1
log2e
Registered User
 
Join Date: Sep 2004
Posts: 17
Default Localizing Flex Applications

I found this information in the LiveDocs:

"The Flex localization feature lets you easily write localized Flex applications and access localized components. The localization feature currently supports static inclusion of localized resources and not dynamic retrieval of resources at runtime."
About the localization feature

I hope the final version of Flex will also support dynamic retrieval of language files. The process described in the LiveDocs is a little cumbersome: You have to compile different SWFs for each locale. And you have to use the command line, you can't do it inside the Flex IDE.

My idea was to have several language files but only one SWF. I'd like to be able to switch between languages during runtime without loading another SWF.

I have developed multi-language applications under Flash 8 by programming a parser class that reads the language files at runtime. The language files are XML documents, the parser creates an associative array from the XML structure. The array is a public static variable so that every part of the application can easily access the language resources.

What's your preferred method of adding multi-language support to your Flash/Flex applications?
log2e is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Flex 2 vistasoul Flex 2 & 3 1 02-28-2006 05:07 AM
Flex loadmovie problem n0rthwood Flex 1 1 01-30-2006 05:01 PM
New Flex (and ActionScript 3) boards Jesse General Chat 3 12-01-2005 07:13 AM
Developing windows applications with script! topcmm ActionScript 1.0 (and below) 4 12-04-2002 10:36 AM
Building Live multiuser applications (games, chat, etc.) Sarah Smirnoff ActionScript 1.0 (and below) 4 05-14-2001 11:39 PM


All times are GMT. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.