[ANN] gettext-2.1.0, gettext_activerecord-2.1.0, gettext_rails-2.1.0

M

Masao Mutoh

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

--- foo.pot
#. Comments for translators here.
#. This will be extracted to po-files.
#: foo.rb:4
msgid "foo"
msgstr ""

The "TRANSLATORS:" keyword is the sign of translator comments.

* Refactor the directory structure.
* Move files for runtime to lib/gettext/runtime/*.
* Move files for development(rgettext/rmsgfmt) to
lib/gettext/tools/*.
* Refactor parsers for po. po-message object is defined as GetText::poMessage
class. [by Vladimir Dobriakov, Masao Mutoh]
* 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 Castilho]
* 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 Mutoh]

== 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 Kostov, 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
* rubyforge
http://rubyforge.org/projects/gettext
* github
http://github.com/mutoh/gettext/tree/master
http://github.com/mutoh/gettext_activerecord/tree/master
http://github.com/mutoh/gettext_rails/tree/master

* Download
http://rubyforge.org/frs/?group_id=1997&release_id=32471

* 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-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
* Ruby-GetText-Package documents for Translators
http://www.yotabanana.com/hiki/ruby-gettext-translate.html

ScreenShots
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top