Re: Another strftime question



Hi Khun Paisa,

I noticed that you are using '%EY' and not '%Ey' (lower case Y). Maybe
this is the problem?

Good work, btw. I'm using GNOME in the Thai locale, and I'm seeing loads
more appearing in Thai.

Regards,

--
Ross


On อ., 2003-12-16 at 11:21, Paisa Seeluangsawat wrote:
> Hi again,
> 
> I went ahead and use %EY in Thai Nautilus translation, expecting it to
> show 2546 (the year in AD + 543).  It just shows up as "%EY".  Any
> idea what should be fixed?  I'm using Fedora Core 1 with gnome 2.5.1
> (via garnome).
> 
> Thanks,
> 
> Paisa
> 
> 
> On Sun, 2003-12-07 at 14:05, Malcolm Tredinnick wrote:
> > On Sun, 2003-12-07 at 06:40, Paisa Seeluangsawat wrote:
> > > Is it safe to use %E? and %O? in date/time translations?  I tried,
> > > 
> > >   date +%Ey
> > > 
> > > and it prints the correct locallized year on my machine.  But I"m
> > > don't know if it will  work in strftime and on other systems.
> > 
> > These should be portable. They are specified in the Single Unix
> > Specification (back in version 2, so they have been there for a while).
> > If we come across a system that does not support them for some reason,
> > then that system should get a special workaround, since it is arguably
> > broken. Defaulting to things that are specified in SUS is pretty safe,
> > in general.
> > 
> > Cheers,
> > Malcolm
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> http://lists.gnome.org/mailman/listinfo/gnome-i18n




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]