Hello everyone,

I'm trying to get Rails (v2.2.2) to print dates in Dutch but it won't
pick up the formats I specify. :(

I tried the following:

1) created a 'nl.yml' file under 'config/locales'
2) copied over the English defaults for dates from activesupport/.../
en.yml
3) added Dutch activerecord error messages and number and currency
formats (euro sign)
4) changed the default locale in 'environment.rb'

The AR error messages are shown in Dutch just fine so Rails is loading
the translation file and setting the locale correctly but when I do
Date.today.to_s I always get the English versions, no matter what
format I pass to the to_s() method. Also numbers and currencies are
working fine. I just can't get dates to behave!

Been hunting down documentation and blog posts on the subject for
hours now and I'm going crazy. Any ideas?

Ronald

--~--~---------~--~----~------------~-------~--~----~
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