Re: Struggling with resource files

2017-10-03 Thread Alex Harui
>are not talking about a web site and a 5-8 seconds load time is usually >quite acceptable (again : we need some visual preloader showing load >progress). > >Nicolas Granon > > > > >> -Message d'origine- >> De : Harbs [mailto:harbs.li...@gmail.com

RE: Struggling with resource files

2017-10-03 Thread Idylog - Nicolas Granon
r showing load progress). Nicolas Granon > -Message d'origine- > De : Harbs [mailto:harbs.li...@gmail.com] > Envoyé : mardi 3 octobre 2017 00:40 > À : dev@royale.apache.org > Objet : Re: Struggling with resource files > > > IMO, it is just a database. &

Re: Struggling with resource files

2017-10-02 Thread Alex Harui
The Flash runtime doesn't know anything about resources. In regular Flex, and Resource Module is a SWF full of compiled Resource Bundles which are classes that wrap the resource data. IMO, that's too heavy for strings and I believe there are many apps where the only things that change per locale

Re: Struggling with resource files

2017-10-02 Thread Harbs
const alias inside the metatag itself > like : > > > [ResourceBundle("mybundlefilename",MY_ALIAS)] > > > > Where MY_ALIAS would be automatically declared as a String const ? (possibly > conflicting with another declaration...) > > > But this is a minor i

Re: Struggling with resource files

2017-10-02 Thread Alex Harui
See the Adobe docs: [1][2] I think the functionality you are looking forward is supported by the compiler. The compiler already has a set of options that dictate what bundles are "inline" in the app and I think they can be re-used to output different things. [ResourceBundle] metadata tells the

RE: Struggling with resource files

2017-10-02 Thread Idylog - Nicolas Granon
this is a minor inconvenience. Nicolas Granon > -Message d'origine- > De : Alex Harui [mailto:aha...@adobe.com.INVALID] > Envoyé : lundi 2 octobre 2017 01:28 > À : dev@royale.apache.org > Objet : Re: Struggling with resource files > > > > On 10/1/17, 7:31

Re: Struggling with resource files

2017-10-01 Thread Harbs
> On Oct 1, 2017, at 2:42 PM, Idylog - Nicolas Granon > wrote: > > Hi Harbs, > > "I’m not sure if a default resource bundle should be included at compile time > as well." > > Well, it seems to me that, in Flex, there must be a default bundle (cooked > inside the swf)

RE: Struggling with resource files

2017-10-01 Thread Idylog - Nicolas Granon
Hi Harbs, "I’m not sure if a default resource bundle should be included at compile time as well." Well, it seems to me that, in Flex, there must be a default bundle (cooked inside the swf) that is used by the framework itself for a number of tasks : Standard validators, standard formatters,