gettext 1.10.0 and Rails 2.0 Feb 07
The ruby gem gettext 1.10.0 doesn't work with html.erb files. It's simple to fix. In the file .../gems/gettext-1.10.0/lib/gettext/parser/erb.rb change the following:
module GetText
module ErbParser
@config = {
:extnames => ['.rhtml']
}
to
module GetText
module ErbParser
@config = {
:extnames => ['.rhtml', '.erb']
}
With this change, the gettext system will parse all your erb files.
Add a comment