Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Localization of applications using DataServices


Level 2
Hello, i am trying to localize my application in two
languages, someone already told me how to compile my application in
Flex Builder using localization, but know i need to deploy it on my
application server, so my question is how to do this? how will my
application server deploy both applications, and how will the
browser will know which application to show??? do i need to modify
the HTML wrapper??

Any ideas???

Hope someone can help me put, thanks
0 Replies


Level 1
Sorry but we don't provide the HTML code for choosing between
multiple locale SWFs. There's two ways that I can think of to do

1. Automatically serve up a SWF based on the browser locale
by using navigator.language (userLanguage in IE) in JavaScript and
redirecting to the given SWF.

2. Present a list of choices to the user for locales to use.
This is preferred be some, since you can never know whether the
browser locale is the right locale for the person using the
browser. Just provide a list in HTML that the user can click on. A
good enchancement would be to be able store the locale information
in a cookie if the user requested it.

In the future, we should hopefully support runtime locales,
which would not require separate main SWFs.