flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Idylog - Nicolas Granon" <ngra...@idylog.com>
Subject RE: Problem with creating new Locale
Date Mon, 06 Nov 2017 22:02:48 GMT
How do you format your dates ? (mx formatter ? spark formatter ?)

Nicolas Granon




> -----Message d'origine-----
> De : mark goldin [mailto:markzolotoy@gmail.com]
> Envoyé : lundi 6 novembre 2017 22:56
> À : users@flex.apache.org; ngranon@idylog.com
> Objet : Re: Problem with creating new Locale
> 
> When I use French the dates are shown correctly. But for GB it is still
> the US.
> 
> On Mon, Nov 6, 2017 at 3:53 PM Idylog - Nicolas Granon
> <ngranon@idylog.com>
> wrote:
> 
> > Rethinking about it, I'm not sure that date formats are specified in
> > resource files.
> >
> > Rather, they come from the formatters classes.
> >
> > Could do describe :
> > How are date displayed by now ?
> > How would you like the dates displayed ?
> >
> > Do you use a formatter for displaying dates ?
> > (if yes) Is it a mx formatter, a spark formatter or any other custom
> > formatter ?
> >
> > Nicolas Granon
> >
> >
> >
> >
> > > -----Message d'origine-----
> > > De : mark goldin [mailto:markzolotoy@gmail.com] Envoyé : lundi 6
> > > novembre 2017 19:18 À : users@flex.apache.org; ngranon@idylog.com
> > > Objet : Re: Problem with creating new Locale
> > >
> > > Can you please elaborate on that?
> > >
> > > On Mon, Nov 6, 2017 at 12:17 PM Idylog - Nicolas Granon
> > > <ngranon@idylog.com>
> > > wrote:
> > >
> > > > I remind that creating a new locale implies using the
> "copylocale"
> > > utility.
> > > > The date formats must reside inside "formatters.properties"
> (maybe
> > > you
> > > > should also check validators.propertie for date validation).
> > > > I believe that you first copy the "source" locale to some
> > > intermediate
> > > > pseudo-locale.
> > > > There you update the properties files.
> > > > Then you use copylocale again from the intermediate to the real
> > > target
> > > > locale.
> > > >
> > > > Hope this helps
> > > >
> > > > Nicolas Granon
> > > >
> > > >
> > > >
> > > >
> > > > > -----Message d'origine-----
> > > > > De : mark goldin [mailto:markzolotoy@gmail.com] Envoyé : lundi
> 6
> > > > > novembre 2017 18:58 À : users@flex.apache.org Objet : Problem
> > > > > with creating new Locale
> > > > >
> > > > > I am creating a new locale "en_GB". For that I created a new
> > > > > folder "en_GB"
> > > > > under locale and copy into it all my en_US bundles. I also
> > > > > modified flex.proj file by adding a new locale there. The build
> > > > > builds new locale without a problem, but when I run the app.
> all
> > > > > date are
> > > shown
> > > > > in an us format. What am I missing?
> > > > >
> > > > > Thanks
> > > >
> > > >
> >
> >


Mime
View raw message