# Gettext-2.1.0, gettext\_activerecord-2.1.0, gettext\_rails-2.1.0

**URL:** <https://www.ruby-forum.com/t/gettext-2-1-0-gettext-activerecord-2-1-0-gettext-rails-2-1-0/178961>\
**Category:** Ruby\
**Created:** [November 14, 2009, 7:36am UTC](https://www.ruby-forum.com/t/gettext-2-1-0-gettext-activerecord-2-1-0-gettext-rails-2-1-0/178961 "2009-11-14T07:36:51Z")\
**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:** [November 14, 2009, 7:36am UTC](https://www.ruby-forum.com/t/gettext-2-1-0-gettext-activerecord-2-1-0-gettext-rails-2-1-0/178961/1 "2009-11-14T07:36:51Z")

</div>

Hi,

Ruby-GetText-Package-2.1.0 and the families  
(gettext-2.1.0, gettext\_activerecord-2.1.0 and gettext\_rails-2.1.0)  
are now available.

Ruby-GetText-Package is the library/tools for message localization.

- gettext - Message localization libraries and tools for all kind of  
apps/libs.
- gettext\_activerecord - ActiveRecord Localization
- gettext\_rails - Rails support with gettext.

## Changes

== gettext-2.1.0

- Implemented parsing of translator comments (GNU gettext feature)  
[by Vladimir Dobriakov]  
— foo.rb  
def foo  
# TRANSLATORS: Comments for translators here.  
# This will be extracted to po-files.  
\_(“foo”)  
end

- Refactor the directory structure.

- Refactor parsers for po. po-message object is defined as  
GetText::PoMessage  
class. [by Vladimir Dobriakov, Masao M.]

- Speed up when lots of objects are created to share the textdomain in  
each  
objects. [Reported by Gaël Séchaud.]

- Fix “%{foo.bar}” %{“foo.bar”.to\_sym =\> “a”} doesn’t work.  
[Bug#26663, Reported by Danilo C.]

- lib/gettext.rb: Fixed to work unless gem. [Reported by Vladimir  
Dobriakov]

- Fixed a wrong String literal in a CGI sample.  
[Bug #26531, by Eugene Mikhailov]

- Update license information(explicit to use ruby’s or LGPL).  
[Pointed out by Masateru Yoshikawa]

- Code cleanup.

== gettext\_activerecord-2.1.0

- Support activerecord 2.3.2, 2.3.3, 2.3.4[by hallelujah]
- Update to work with gettext-2.1.0.
- make test task visible in “rake -T” [by Vladimir Dobriakov]
- Update to user column\_mapping. [by hallelujah]
- Update license information (explicit to use Ruby’s or LGPL).  
[Pointed out by Masateru Yoshikawa]
- Fixed bugs [by hallelujah, Vladimir Dobriakov, Masao M.]

== gettext\_rails-2.1.0

- Support Rails-2.3.2, 2.3.3, 2.3.4.
- Fixed to work distance\_of\_time\_in\_words.  
[Reported by Mitko K., Bart ten Brinke]
- Updated version/dependencies.
- Update license information (explicit to use Ruby’s or LGPL).  
[Pointed out by Masateru Yoshikawa]

(NOTE)

- Rails-2.3.1 or earlier aren’t supported.

## Website

- homepage  
[http://www.yotabanana.com/hiki/ruby-gettext.html](http://www.yotabanana.com/hiki/ruby-gettext.html)

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

- github  
[GitHub - mutoh/gettext: Ruby-GetText-Package is a Localization(L10n) library and tools which modeled after GNU gettext package.](http://github.com/mutoh/gettext/tree/master)  
[GitHub - mutoh/gettext\_activerecord: ActiveRecord(\>2.2) localization using Ruby-GetText-Package](http://github.com/mutoh/gettext_activerecord/tree/master)  
[GitHub - mutoh/gettext\_rails: Ruby on Rails (\>=2.3) localization support with Ruby-GetText-Package.](http://github.com/mutoh/gettext_rails/tree/master)

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

- 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-rails.html](http://www.yotabanana.com/hiki/ruby-gettext-rails.html)

- HOWTO Migrate rails-2.1.x(gettext-1.93.0) to  
rails-2.3.2(gettext-2.0.0)  
[http://www.yotabanana.com/hiki/ruby-gettext-rails-migration.html](http://www.yotabanana.com/hiki/ruby-gettext-rails-migration.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)

ScreenShots
