search for: before_init_gettext

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

2006 Sep 12
0
Ruby-GetText-Package-1.8.0
...Rails. * init_gettext finds mo-files in /vendor/plugins/{plugin_name}/locale which has app/controller directories such as Rails Engines. And init_gettext accepts :locale_path option to be able to set the locale path manually. * init_gettext manages plural textdomains. * Add before_init_gettext, after_init_gettext methods like as before/after_filter. * Speed up(the sample blog is 1.5 times faster). * gettext/active_record.rb from gettext/rails.rb. * ActiveRecord::Validations is set the app''s textdomain in init_gettext. It means the class which includes ActiveRecord:...