[ANN] Ruby-GetText-Package-1.7.0


Ruby-GetText-Package-1.7.0 is now available.

Enjoy L10n!


  • Improve to support Ruby on Rails
    • Localize ActionView::Helpers::DateHelper.distance_of_time_in_words.
    • Localize ActionView::Helpers::ActiveRecordHelper.error_message_on.
    • Add ActiveRecord::Base.untranslate, .untranslate_all to prevend to
      translate columns.
    • “ID” fields are ignored as msgids. It won’t appear in po-files,
  • Fixed bugs, code cleanup.
  • Update translations
    • Chinese(zh), Czech(cs), Dutch(nl), English(default), French(fr)
      Spanish(es), Japanese(ja), Korean(ko), Russian(ru)

Thanks to:
David E., Karel M., Laurent S., Yuri Kozlov,
Gyoung-Yoon N., Menno Jonkers, Yingfeng
Bug reports and suggestions:
arton, OZAWA Sakuro, kdmsnr, Gyoung-Yoon N., Kouhei S.



What’s this?

Ruby-GetText-Package is a Localization(L10n) Library and Tools which is
modeled after GNU gettext package.

The library converts the messages to localized messages properly using
client-side locale information. And the tools for developers support
to create, use, and modify localized the message files(message catalogs)


  • Simple APIs(similar GNU gettext)
  • rgettext command for creating po-files from files below:
    o ruby scripts
    o glade-2 XML file(.glade)
    o ERB file(.rhtml)
    o ActiveRecord (.rb)
  • rmsgfmt command for creating a mo-file from a po-file.
  • The po-file is compatible to GNU gettext.
    You can maintain these files to use GNU getext tools.
  • The mo-file is compatible to GNU gettext(msgfmt).
  • multi-textdomain supported.
    You can bind plural textdomains to a class/module.
  • CGI support (gettext/cgi)
  • ERB support (gettext/erb)
  • Ruby on Rails support (gettext/rails)

Status of translations

Chinese(zh) - 1.7.0
Czech(cs) - 1.7.0
Dutch(nl) - 1.7.0
English(default) - 1.7.0
French(fr) - 1.7.0
German(de) - 1.6.0
Greek(el) - 1.6.0
Spanish(es) - 1.7.0
Italian(it) - 1.6.0
Japanese(ja) - 1.7.0
Korean(ko) - 1.7.0
Portuguese(Brazil)(pt_BR) - 1.6.0
Russian(ru) - 1.7.0
Swedish(sv) - 0.8.0 (old)

Can you help us?/ Can we help you?

Join our ML if you are interested in:

  • Improve Ruby-GetText-Package.
  • Translators.
  • Application/library owners who think to make your apps/libs L10n.
    If you send us your po-files, we’ll translate it!

    At least, a Japanese translator is available ;).