Expand my Community achievements bar.

Help on my project

Avatar

Level 3
HI everyone...

I need to do something like this. The whole system will be
flex data services enabledI will build a main program that might be
multi-language. And there will be another program that should help
users to translate the first program (form based). But when I
change the main (add or remove labels for instance) , the
translator might adapt automatically to support the changes.



I don't know yet how to do it.. I'm thinking on force the
trasnslator program, before start up, walk through the main' MXML
and use some algo to detect changes and them start updated.



Is there some other best choice for me?



THANK YOU SO MUCH :)
2 Replies

Avatar

Level 3
If you're able to recompile your mxml you could consider
using "resource bundles" as described here:




http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Pa...



Alternatively, you could create a [Bindable] object that held
the strings of the UI that needed to be localized and then bind the
labels to the properties of this object (which could be populated
by a RemoteObject, for instance).



Avatar

Level 3
You helped man! I'm studing your alternative :)