Hi,
Ruby-GetText-Package-1.91.0 is now available.
Changes
- Works on Win32 + JRuby-1.1.1
- Fix memory leaks.
- Fix bugs.
- Speed up.
- Support Serbian(sr)
- Rails Support
- rubyonrails-1.2.x isn’t supported(2.0.0 or later are supported).
(Use 1.10.0 for rails-1.2.x.) - Localize ActionView::Helpers::FormBuilder#label.
e.g.)
<% form_for(@article) do |f| %>
<%= f.label :lastupdate %>
<% end %>
=> msgid “Article|Lastupdate” is used as the label string.
- rubyonrails-1.2.x isn’t supported(2.0.0 or later are supported).
Thanks to
Translators:
Slobodan Paunović
Bug reports, suggestions and patches:
Paul Clegg, Locomotyphus, Simone C., Dao Ngoc, Karl Palmskog,
Tatsuki S., Bernd Ahlers, craccho.
Website
http://rubyforge.org/projects/gettext/
-
Download
http://rubyforge.org/frs/?group_id=855&release_id=2856 -
Ruby-GetText-Package HOWTOs
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 -
Ruby-GetText-Package API Reference (RDoc)
http://www.yotabanana.com/gettextapi/ -
FAQ for Ruby-GetText-Package
http://www.yotabanana.com/hiki/ruby-gettext-faq.html -
Ruby-GetText-Package documents for Translators
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)
- rgettext command for creating po-files from files below:
- 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
Status of translations
- Bosnian(bs) - 1.90.0
- Catalan(ca) - 1.90.0
- Croatian(hr) - 1.90.0
- Chinese(zh_CN) - 1.90.0
- Chinese(zh_TW) - 1.90.0
- Czech(cs) - 1.9.0 (old)
- Dutch(nl) - 1.90.0
- English(default) - 1.90.0
- Esperanto(eo) - 1.90.0
- Estonian(et) - 1.9.0 (old, rails.po only)
- French(fr) - 1.90.0
- German(de) - 1.90.0
- Greek(el) - 1.9.0 (old)
- Hungarian(hu) - 1.90.0
- Italian(it) - 1.6.0 (old)
- Japanese(ja) - 1.91.0
- Korean(ko) - 1.9.0 (old)
- Norwegian(nb) - 1.9.0 (old)
- Portuguese(Brazil)(pt_BR) - 1.90.0
- Russian(ru) - 1.90.0
- Serbian(sr) - 1.91.0 (new)
- Spanish(es) - 1.9.0 (old)
- Swedish(sv) - 0.8.0 (too much old)
- Ukrainian(ua) - 1.90.0
- Vietnamese(vi) - 1.90.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
Regards,
Masao
.:% Masao M.[email protected]