[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Ruby-GetText-Package-1.1.0

Masao Mutoh

12/29/2005 8:01:00 AM

Hi,

Ruby-GetText-Package-1.1.0 is now available.

Thanks for many helps!

Highlights
----------
* Added some functions which managed po/mo files easily.
* GetText.update_pofiles creates/updates pot/po files.
The idea is from Sascha Ebach.

* String% is extended to accept named argument.
"%{file} is selected." % {:file => "foo.rb"}
Proposed by Sascha Ebach and Kazuhiro NISHIYAMA.

* Enhanced Ruby on Rails support.

* New/Updated translations:
Czech - Karel Miarka (NEW)
Dutch - Menno Jonkers (NEW)
French - Laurent Sansonetti
German - Sasa Ebach
Japanese - Masao Mutoh
Korean - Gyoung-Yoon Noh
Portuguese(Brazil) - Joao Pedrosa
Spanish - David Espada

* bugfixes.


Website
-------
http://rubyforge.org/project...

* Download
http://rubyforge.org/frs/?group_id=855&relea...

* Ruby-GetText-Package HOWTOs
http://ponx.s5.xrea.com/hiki/ruby-gettext-...
* Ruby-GetText-Package HOWTO for CGI/ERB
http://ponx.s5.xrea.com/hiki/ruby-gettext-howt...
* Ruby-GetText-Package HOWTO for Ruby on Rails (NEW)
http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-...
* Ruby-GetText-Package API Reference
http://ponx.s5.xrea.com/hiki/ruby-gettex...

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/?gr...

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,

--
:% Masao Mutoh<mutoh@highway.ne.jp>


4 Answers

Tom Cloyd

12/29/2005 8:33:00 PM

0

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 Mutoh <mutoh@highway.ne.jp>
wrote:

> Hi,
>
> Ruby-GetText-Package-1.1.0 is now available.
>
> Thanks for many helps!
>
> Highlights
> ----------
> * Added some functions which managed po/mo files easily.
> * GetText.update_pofiles creates/updates pot/po files.
> The idea is from Sascha Ebach.
>
> * String% is extended to accept named argument.
> "%{file} is selected." % {:file => "foo.rb"}
> Proposed by Sascha Ebach and Kazuhiro NISHIYAMA.
>
> * Enhanced Ruby on Rails support.
>
> * New/Updated translations:
> Czech - Karel Miarka (NEW)
> Dutch - Menno Jonkers (NEW)
> French - Laurent Sansonetti
> German - Sasa Ebach
> Japanese - Masao Mutoh
> Korean - Gyoung-Yoon Noh
> Portuguese(Brazil) - Joao Pedrosa
> Spanish - David Espada
>
> * bugfixes.
>
>
> Website
> -------
> http://rubyforge.org/project...
>
> * Download
> http://rubyforge.org/frs/?group_id=855&relea...
>
> * Ruby-GetText-Package HOWTOs
> http://ponx.s5.xrea.com/hiki/ruby-gettext-...
> * Ruby-GetText-Package HOWTO for CGI/ERB
> http://ponx.s5.xrea.com/hiki/ruby-gettext-howt...
> * Ruby-GetText-Package HOWTO for Ruby on Rails (NEW)
> http://ponx.s5.xrea.com/hiki/ruby-gettext-howto-...
> * Ruby-GetText-Package API Reference
> http://ponx.s5.xrea.com/hiki/ruby-gettex...
>
> 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/?gr...
>
> 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,
>



--

================================================
Tom Cloyd, MS MA, LMHC
Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< TC.BestMindHealth.com / BestMindHealth.com >>
<< tomcloyd@bestmindhealth.com >>
================================================


Ryan Leavengood

12/29/2005 8:45:00 PM

0

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

On 12/29/05, Tom Cloyd <tomcloyd@bestmindhealth.com> wrote:
> 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.


Detlef Reichl

12/29/2005 8:47:00 PM

0

Am Freitag, den 30.12.2005, 05:33 +0900 schrieb Tom Cloyd:
> 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).

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



Masao Mutoh

12/30/2005 2:16:00 AM

0

Hi Tom,

On Fri, 30 Dec 2005 05:33:16 +0900
"Tom Cloyd" <tomcloyd@bestmindhealth.com> wrote:

> 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.

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

Thanks.

Masao.

--
:% Masao Mutoh<mutoh@highway.ne.jp>