# Ruby-GetText-Package-1.1.0

**URL:** <https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301>\
**Category:** Ruby\
**Created:** [December 29, 2005, 9:04am UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301 "2005-12-29T09:04:08Z")\
**Posts on this page:** 5\
**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:** [December 29, 2005, 9:04am UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301/1 "2005-12-29T09:04:08Z")

</div>

Hi,

Ruby-GetText-Package-1.1.0 is now available.

Thanks for many helps!

## Highlights

- Added some functions which managed po/mo files easily.

- String% is extended to accept named argument.  
“%{file} is selected.” % {:file =\> “foo.rb”}  
Proposed by Sascha E. and Kazuhiro NISHIYAMA.

- Enhanced Ruby on Rails support.

- New/Updated translations:  
Czech - Karel M. (NEW)  
Dutch - Menno Jonkers (NEW)  
French - Laurent S.  
German - Sasa E.  
Japanese - Masao M.  
Korean - Gyoung-Yoon N.  
Portuguese(Brazil) - Joao P.  
Spanish - David E.

- bugfixes.

## 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://ponx.s5.xrea.com/hiki/ruby-gettext-howto.html](http://ponx.s5.xrea.com/hiki/ruby-gettext-howto.html)

- Ruby-GetText-Package HOWTO for CGI/ERB  
[http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-cgi.html](http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-cgi.html)

- Ruby-GetText-Package HOWTO for Ruby on Rails (NEW)  
[http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-rails.html](http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-rails.html)

- Ruby-GetText-Package API Reference  
[http://ponx.s5.xrea.com/hiki/ruby-gettext-api.html](http://ponx.s5.xrea.com/hiki/ruby-gettext-api.html)

## What’s this?

Ruby GetText Package is a Native Language Support Library and  
Tools which modeled after GNU gettext package.

- 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 select two kind of textdomain’s scope:  
o A file base (default: recommanded)  
o A Class/Module base (GetText::Container, GetText::ErbContainer,  
GetText::Rails)
- CGI support (gettext/cgi)
- ERB support (gettext/erb)
- Ruby on Rails support (gettext/rails)

## Status of translations

cs - 1.1.0  
fr - 1.1.0  
de - 1.1.0  
es - 1.1.0  
it - 1.0.0 (still old)  
ja - 1.1.0  
ko - 1.1.0  
nl - 1.1.0  
pt\_BR - 1.1.0  
sv - 0.8.0 (still old)

## Can you help us?/ Can we help you?

I’ve started gettext-users-en mailing list.

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

Join us 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 ;).

Regards,

---

<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:** [December 29, 2005, 9:33pm UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301/2 "2005-12-29T21:33:57Z")

</div>

Masao,

Please - realize that only part of the world understands obscure  
statements like “Ruby-GetText-Package is a Native Language Support  
Library  
and Tools which is modeled after GNU gettext package, but is not a  
wrapper  
of GNU GetText.”

As a Rubie-newbie, and a user of Windows, I have almost NO idea what  
this  
means. What in blazes is “GNU GetText”? I scanned several pages at the  
Get  
Text web site, and nowhere could I find a simple statement telling me  
what  
this ruby thing DOES (and why I shouldn’t just ignore it, which is what  
I  
decided to so).

It just seems to me that if you want people like me to dig into this  
package, it might be made less baffling. Time is precious.

Tom C.

On Thu, 29 Dec 2005 00:01:16 -0800, Masao M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ```
> The idea is from Sascha E..
> French - Laurent S.
> 
> ```
> 
> * * *
> 
> ## [http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-rails.html](http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-rails.html) o ruby scripts o A Class/Module base (GetText::Container, GetText::ErbContainer, de - 1.1.0
> 
> Regards,

–

# ================================================ Tom C., MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 \<\< [TC.BestMindHealth.com](http://TC.BestMindHealth.com) / [BestMindHealth.com](http://BestMindHealth.com) \>\> \<\< removed\_email\_address@domain.invalid \>\>

---

<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:** [December 29, 2005, 9:46pm UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301/3 "2005-12-29T21:46:01Z")

</div>

I personally tend to follow the philosophy that if I don’t understand  
what something is, I probably don’t need or want it.

Also as far as I know, GetText is just a system for getting strings  
for user interfaces in multiple languages.

Ryan

---

<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:** [December 29, 2005, 9:49pm UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301/4 "2005-12-29T21:49:02Z")

</div>

Am Freitag, den 30.12.2005, 05:33 +0900 schrieb Tom C.:

> this ruby thing DOES (and why I shouldn’t just ignore it, which is what I  
> decided to so).

GetText is a library that supports you with translation of programs into  
other languages.

In most programs the messages are per default english. But for the  
bigest part of the world, english is not the native language (i know,  
many people often forget this). So gettext will lookup the programs  
messages in a list of translations for this program and retuns (if it  
finds something) the translation to the users language.

For a program author it is a very easy way to make her/his program mulit  
linugual.

Cheers  
detlef

---

<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:** [December 30, 2005, 3:17am UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-1-0/51301/5 "2005-12-30T03:17:43Z")

</div>

Hi Tom,

On Fri, 30 Dec 2005 05:33:16 +0900  
“Tom C.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> this ruby thing DOES (and why I shouldn’t just ignore it, which is what I  
> decided to so).
> 
> It just seems to me that if you want people like me to dig into this  
> package, it might be made less baffling. Time is precious.

OK. I’ll improve the explanation since next release announce.

Thanks.

Masao.
