Forum: Ruby on Rails gettext missing a method

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
fafa (Guest)
on 2007-05-07 15:19
After gem install gettext, I created the po/cs po/en po/de directories
and tried to create po files. But, with this code in rakefile

require 'gettext/utils'
desc "Update pot/po files."
task :updatepo do

Dir.glob("{app,lib,bin}/**/*.{rb,rhtml}"), "semantickyweb2 1.0.0")

desc "Create mo-files"
task :makemo do
  require 'gettext/utils'
  # GetText.create_mofiles(true, "po", "locale")  # This is for "Ruby on

I got only this message:

Rake aborted!
Undefined method 'untranslate_all?' for Action::Class

Does somebody know what to do with that?
Shaoxia (Guest)
on 2007-05-08 02:03
(Received via mailing list)
You probably didn't add "require 'gettext/rails'" in your Rails app.
This topic is locked and can not be replied to.