This is more than a simple internationalization, but I think the way you do it is ok as long as you only use text resources. The advantage of resource modules (and why they are compiled to swf) is that they also allow to use media files with the resources.
Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com On Wed, Jan 21, 2009 at 2:00 PM, Yves Riel <[email protected]> wrote: > The only problem I have with resource modules is that they are compiled > into swf. Our users require that the language files be accessible using > notepad or any text editor so I cannot use Flex. A typical example would be > a lexicon file where the user could add terms at any time. We had to load > the file separately and push it into the resource manager. Of course we lose > bandwidth but it's what our user base needs. I was just curious to see if > other were doing it this way. > > ------------------------------ > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Haykel BEN JEMIA > *Sent:* Wednesday, January 21, 2009 5:12 AM > > *To:* [email protected] > *Subject:* Re: [flexcoders] internationalization > > Yes, they are called resource modules! Thanks Gordon! > > http://livedocs.adobe.com/flex/3/html/l10n_5.html#158277 > > > Haykel Ben Jemia > > Allmas > Web & RIA Development > http://www.allmas-tn.com > > > > > On Tue, Jan 20, 2009 at 10:37 PM, Gordon Smith <[email protected]> wrote: > >> Haykel is probably talking about loading a resource module. The >> resource bundles in a resource module automatically get added to the >> ResourceManager. >> >> >> >> Gordon Smith >> >> Adobe Flex SDK Team >> >> >> >> *From:* [email protected] [mailto:[email protected]] *On >> Behalf Of *Yves Riel >> *Sent:* Tuesday, January 20, 2009 4:16 AM >> *To:* [email protected] >> *Subject:* RE: [flexcoders] internationalization >> >> >> >> Haykel, out of curiosity, when you load them dynamically at run-time, do >> you pass them to the resource bundle manager? That's what we did but I'm >> curious to see what other did and if there are a open source libraries that >> do just that. We didn't find any at the time so we had to do it all >> ourselves. >> >> >> ------------------------------ >> >> *From:* [email protected] [mailto:[email protected]] *On >> Behalf Of *Haykel BEN JEMIA >> *Sent:* Tuesday, January 20, 2009 3:33 AM >> *To:* [email protected] >> *Subject:* Re: [flexcoders] internationalization >> >> Use resource bundles. If you only have 2 or 3 languages and the resources >> are not heavy in size, you can simply compile them in the application, >> otherwise load them at runtime. >> >> Haykel Ben Jemia >> >> Allmas >> Web & RIA Development >> http://www.allmas-tn.com >> >> >> >> On Tue, Jan 20, 2009 at 6:46 AM, Scott <[email protected]> wrote: >> >> I'm working on a project that requires multiple languages. I'm thinking >> I have two choices... >> >> 1) Use an XML file to change the text to different languages >> 2) Create a query/remote object through coldfusion to pull the different >> language. >> >> Are those my only options? Or should I say, what is the best way to do >> this? Has anyone done this or come across any articles? The articles >> I've found thus far deal with changing the currency/calendar/etc.. >> While that is something that I need to use, it's not the whole story... >> >> Thanks much. >> Scott >> >> >> >> > >

