Hi,
I am developing a Rails application which should be in ONE language (not
English).
Globalize seems overkill for this purpose (do you agree?).
So I’m trying some of the approaches on the wiki. In particular:
http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage
This does override the month names, but does not override the error
messages.
I’m wondering:
- is the code correct?
- should errors.rb be located in overrides/active_record/errors.rb, or
can it also be in overrides/errors.rb. I.e. does the location matter?
The override method described in
http://wiki.rubyonrails.org/rails/pages/HowToLocalizeActiveRecordErrors
does work for ActiveRecord errors.
Or perhaps I should forget all this and look at Globalize?
Thanks,
Mike