Ruby-GetText-Package-2.0.0 is now available.
Ruby-GetText-Package now separate 2 base libraries
and 3 libraries which support Ruby on Rails 2.3.2.
For all libraries/applications:
* locale - Management Locale IDs
* gettext - Message localizations
For Ruby on Rails:
* locale_rails - Rails support with locale
* gettext_activerecord - ActiveRecord Localization
* gettext_rails - Support other localization same with gettext-1.93.0.
See HOWTO below to migrate rails-2.1.x apps to rails-2.3.2.
* 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
Changes
-------
* locale-2.0.0
* Support Rack.
* locale_rails-2.0.0
* I18n.translate fallbacks to the localized message in the locale candidates.
* Support localized view both of gettext-1.93.0 style and rails-2.3.x style.
* Support Rails-2.3.2.
* gettext-2.0.0
* Separate this library to locale, locale_rails, gettext_activerecord,
gettext_rails.
* A lot of referctoring, improvements.
* Thread safe.
* New APIs for gettext/tools instead of gettext/utils.
* gettext_activerecord-2.0.0
* Support activerecord-2.3.2.
* gettext_rails-2.0.0
* Support Rails-2.3.2.
* Work with other I18n backends.
(NOTE)
* Rails-2.3.1 and earlier aren't supported.
Thanks to
-------
Special Thanks to:
Michael Grosser: A lot of improvement.
Thanks to:
Tietew, Kazuhiro NISHIYAMA, Fabio M.A.
Tuptus, Morus Walter, Vladimir Dobriakov, Ramsey.
Website
-------
* homepage
http://www.yotabanana.com/hiki/ruby-locale.html
http://www.yotabanana.com/hiki/ruby-gettext.html
* rubyforge
http://rubyforge.org/projects/locale
http://rubyforge.org/projects/gettext
* github
http://github.com/mutoh/locale/tree/master
http://github.com/mutoh/locale_rails/tree/master
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=855&release_id=2856
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
What's this?
-------------
Ruby-GetText-Package is a Localization(L10n) library and tool
which is modeled after the GNU gettext package.
This library translates original messages to localized
messages using client-side locale information(environment
variable, using system locale API or CGI variable).
The tools for developers support creating, useing, and modifying
localized message files(message catalogs).
ScreenShots
-----------
Screenshots in 23 languages (Sample Rails blog) are:
http://www.yotabanana.com/hiki/?ruby-gettext-screenshot
--
Masao Mutoh <muto...@gmail.com>
The problem is seen when running 'rake package' on the locale package.
Here is the output:
$ rake package
(in /home/coutu/gt-build/locale)
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: command not
found: allison --path
/usr/bin/ruby -Ilib test/test_detect_general.rb
Loaded suite test/test_detect_general
Started
.........
Finished in 0.003711 seconds.
9 tests, 53 assertions, 0 failures, 0 errors
/usr/bin/ruby -Ilib test/test_memoizable.rb
Loaded suite test/test_memoizable
Started
.....
Finished in 0.001536 seconds.
5 tests, 45 assertions, 0 failures, 0 errors
/usr/bin/ruby -Ilib test/test_thread.rb
Loaded suite test/test_thread
Started
...............................
Finished in 6.003899 seconds.
1 tests, 30 assertions, 0 failures, 0 errors
/usr/bin/ruby -Ilib test/test_tag.rb
Loaded suite test/test_tag
Started
F...........
Finished in 0.07693 seconds.
1) Failure:
test_cldr(TagTest) [test/test_tag.rb:819]:
<#<Locale::Tag::Rfc: de-DE-k-currency-DDM-k-collatio-phoneboo>> expected
but was
<#<Locale::Tag::Rfc: de-DE-k-collatio-phoneboo-k-currency-DDM>>.
12 tests, 518 assertions, 1 failures, 0 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby -Ilib test/test_tag.rb...]
/home/coutu/gt-build/locale/Rakefile:19
(See full trace by running task with --trace)
I'm now getting an error on all of the 'rake makemo' tasks for the
various gems. Here's an example of the error when doing rake makemo
within the gettext directory:
$ rake makemo
(in /home/coutu/gt-build/gettext)
Warning: obsolete msgid exists.
#~ msgid "'%{file}' is not found."
Warning: obsolete msgid exists.
#~ msgstr "'%{file}' ble ikke funnet."
Warning: obsolete msgid exists.
#~ msgid "Ignored '%{file}'. Solve dependencies first."
Warning: obsolete msgid exists.
#~ msgstr "Ignorerte '%{file}'. Løs avhengigheter først."
Warning: obsolete msgid exists.
#~ msgid "No database is available."
Warning: obsolete msgid exists.
#~ msgstr "Ingen database er tilgjengelig."
Warning: obsolete msgid exists.
#~ msgid "rubygems are not found."
Warning: obsolete msgid exists.
#~ msgstr "rubygems ble ikke funnet."
rake aborted!
undefined method `bytesize' for "":String
/home/coutu/gt-build/gettext/Rakefile:65