Forum: Ruby on Rails Translate to one language: Globalize is overkill?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ae60e09b991e7a95e44591eb8756d1f6?d=identicon&s=25 Mike D (Guest)
on 2006-03-13 16:56
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/Overriding...

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/HowToLocal...
*does* work for ActiveRecord errors.

Or perhaps I should forget all this and look at Globalize?

Thanks,
Mike
B2ee3ee5087b7aa7202a98da372cae00?d=identicon&s=25 Yaroslav Markin (Guest)
on 2006-03-13 17:14
(Received via mailing list)
Try checking out http://rutils.rubyforge.org/ as a russian language
translation. You can get the idea.
Ae60e09b991e7a95e44591eb8756d1f6?d=identicon&s=25 Mike D (Guest)
on 2006-03-13 17:59
Yaroslav Markin wrote:
> Try checking out http://rutils.rubyforge.org/ as a russian language
> translation. You can get the idea.
I'm sorry, but I don't understand a thing from this site.
Ae60e09b991e7a95e44591eb8756d1f6?d=identicon&s=25 Mike D (Guest)
on 2006-03-14 08:46
Found the problem. Apparently Rails now has separate validations for
:blank
:empty
as well as a few new ones (since the Wiki entries were made).
I'll update the Wiki.

Thanks,
Mike
This topic is locked and can not be replied to.