# Ruby-GetText-Package-1.92.0

**URL:** <https://www.ruby-forum.com/t/ruby-gettext-package-1-92-0/144809>\
**Category:** Ruby\
**Created:** [August 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-92-0/144809 "2008-08-02T11:58:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masao\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Post date:** [August 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-92-0/144809/1 "2008-08-02T11:58:30Z")

</div>

Hi,

Ruby-GetText-Package-1.92.0 is now available.

## Changes

- Fixed a memory leak(again)

- Fixed bugs.

- Latvian support.

- Improve to support mo-files.

- msgctxt - pgettext(msgctxt, msgid) support  
(eg)  
p\_(“File”, “Open”) #=\> “Open” is shown in English.

- Update translations

- Rails Support

## Thanks to

Thanks to:  
Translators:  
Slobodan PaunoviÄ‡, Yuri Kozlov, Patrick Lenz, Malte M., Ngoc DAO  
Thanh, David E.,  
Antonio S. de A. Terceiro, David E., Runar Ingebrigtsen, TamÃ¡s  
Tompa, Yang B., damphyr,  
Ramon SalvadÃ³, Alex Rootoff, Aivars Akots

Bug reports, suggestions and patches:  
Hans de Graaff, Tatsuki S., Andreas Neuhaus, Loiseleur Michel

## Website

[http://rubyforge.org/projects/gettext/](http://rubyforge.org/projects/gettext/)

- Download  
[http://rubyforge.org/frs/?group\_id=855&release\_id=2856](http://rubyforge.org/frs/?group_id=855&release_id=2856)

- Ruby-GetText-Package HOWTOs  
[http://www.yotabanana.com/hiki/ruby-gettext-howto.html](http://www.yotabanana.com/hiki/ruby-gettext-howto.html)

- Ruby-GetText-Package HOWTO for Ruby on Rails  
[http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html](http://www.yotabanana.com/hiki/ruby-gettext-howto-rails.html)

- Ruby-GetText-Package API Reference (RDoc)  
[http://www.yotabanana.com/gettextapi/](http://www.yotabanana.com/gettextapi/)

- FAQ for Ruby-GetText-Package  
[http://www.yotabanana.com/hiki/ruby-gettext-faq.html](http://www.yotabanana.com/hiki/ruby-gettext-faq.html)

- Ruby-GetText-Package documents for Translators  
[http://www.yotabanana.com/hiki/ruby-gettext-translate.html](http://www.yotabanana.com/hiki/ruby-gettext-translate.html)

## 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)  
easily.

Features:

- Simple APIs(similar GNU gettext)
- Singular/plural messages in each locales.
- Extract strings automatically
  - rgettext command for creating po-files from files below:  
o ruby scripts  
o glade-2 XML file(.glade)  
o ERB file(.rhtml, .erb)  
o ActiveRecord (.rb)  
o Other files (you can write your own parser)

- Create mo-files unless msgfmt(in GNU gettext tool)
  - rmsgfmt command for creating a mo-file from a po-file.

- Have rgettext/rmsgfmt as module functions. It’s useful as Rake  
tasks.
- 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)
- Ruby on Rails support (gettext/rails)

## ScreenShots

Screenshots in 22 languages (Sample Rails blog) are:  
[http://www.yotabanana.com/hiki/?ruby-gettext-screenshot](http://www.yotabanana.com/hiki/?ruby-gettext-screenshot)

## Status of translations

- Bosnian(bs) - 1.90.0 (old)
- Catalan(ca) - 1.92.0
- Croatian(hr) - 1.90.0 (old)
- Chinese(zh\_CN) - 1.92.0
- Chinese(zh\_TW) - 1.92.0
- Czech(cs) - 1.9.0 (old)
- Dutch(nl) - 1.90.0 (old)
- English(default) - 1.90.0 (old)
- Esperanto(eo) - 1.92.0
- Estonian(et) - 1.9.0 (old, rails.po only)
- French(fr) - 1.90.0 (old)
- German(de) - 1.92.0
- Greek(el) - 1.92.0
- Hungarian(hu) - 1.92.0
- Italian(it) - 1.6.0 (old)
- Japanese(ja) - 1.92.0
- Korean(ko) - 1.9.0 (old)
- Latvian(lv) - 1.92.0 (new)
- Norwegian(nb) - 1.92.0
- Portuguese(Brazil)(pt\_BR) - 1.92.0
- Russian(ru) - 1.92.0
- Serbian(sr) - 1.91.0 (old)
- Spanish(es) - 1.92.0
- Swedish(sv) - 0.8.0 (too much old)
- Ukrainian(ua) - 1.92.0
- Vietnamese(vi) - 1.92.0

## 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 ;).

ML:  
[http://rubyforge.org/mail/?group\_id=855](http://rubyforge.org/mail/?group_id=855)

Regards,  
Masao
