On 13 Aug 2009, at 14:35, Serafino Picozzi wrote:
>
> I''m trying to print a list of localized month names in my rails
app. I
> set my locale to it-IT, created an it-IT.yml translation file with the
> translated month names, but it doesn''t seem to work.
>
> When I use date_select I can see the trasnlated months, therefore my
> yml
> file and my locale should be ok, but when I try something like
> Date.new(2008).strftime("%B") or Date::MONTHNAMES i always get
the
> english month names.
>
Date''s strftime & Date''s MONTHNAME constants just
aren''t localized
(I18n.localize has a localized strftime for you)
Fred> Can anyone help me?
>
> Thanks in advance
> --
> Posted via http://www.ruby-forum.com/.
>
> >