Displaying 1 result from an estimated 1 matches for "gettexttask".
2007 Jan 19
1
Trouble with Rails/Ri18n
...9; manually, I expected a translation to germany for all pages.
Rakefile works perfectly with "rake gettext":
.....
# Ri18n
task :gettext do
  require ''i18nservice''
  require ''gettext''
  I18nService.instance.po_dir = ''locale''
  Rake::GettextTask.new do |t|
    t.new_langs = [''de'']
    t.source_files =
      [''{lib,app,components}/**/*.r{b,html,xml}'']
    t.verbose = true
  end
end
environment.rb states:
# Include your application configuration below
# Require Rails libraries (Ri18n)
require ''...