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.

Can anyone help me?

Thanks in advance
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to