D
Diego
Hi all,
I was wondering if it was possible to internationalize the constant
month and day names, used by DateTime class (for example), in to
something other than English?
I'm using gettext in a Rails application where I am able to
internationalize most of the application. But in some cases where I
take something like a Time class and represent it with a string, I see
the English names for days and months. "Thu", "Aug" etc.
I /think/ this goes all the way down to Ruby and not Rails, hence my
post here. Any help would be appreciated as to how I can
internationalize this area of my application.
Thanks.
Cheers,
Diego
I was wondering if it was possible to internationalize the constant
month and day names, used by DateTime class (for example), in to
something other than English?
I'm using gettext in a Rails application where I am able to
internationalize most of the application. But in some cases where I
take something like a Time class and represent it with a string, I see
the English names for days and months. "Thu", "Aug" etc.
I /think/ this goes all the way down to Ruby and not Rails, hence my
post here. Any help would be appreciated as to how I can
internationalize this area of my application.
Thanks.
Cheers,
Diego