search for: myd2d

Displaying 1 result from an estimated 1 matches for "myd2d".

Did you mean: myd2
2006 May 09
5
How to use gettext in plugins?
...validates_length_of :login, :within => 3..40, :on => :create, :message => N_("%{fn} is too short (min is %d characters)") It can not display the according language,where should i set it? I have tried to add require ''gettext/rails'' GetText.bindtextdomain("myd2d") to init_engine.rb or somewhere else,it can not work still. Thanks Charlie -- Posted via http://www.ruby-forum.com/.