Ruby-Locale-0.9.0 / Ruby-Locale for Ruby on Rails-0.1.0


I’m pleased to announce 2 new libraries for Localization.

  • Ruby-Locale-0.9.0
  • Ruby-Locale for Ruby on Rails-0.1.0

= Website (HOWTO)

(Sample Website)

= Install
$ gem install locale
$ gem install locale_rails

= Ruby-Locale-0.9.0
Ruby-Locale is the pure ruby library which provides basic APIs for
It aims to support all environments which ruby works and all kind of
(GUI, WWW, library, etc), and becomes the hub of other i18n/l10n
libs/apps to
handle major locale ID standards.
* Manage Locale ID(Language Tag)
* Thread safe. Each thread has a Locale ID.
* POSIX, CLDR, IETF(RFC4646, 3066(BCP47)), Win32 and Java
language tags
and convert the tag each others.
* Auto detect Locale ID. POSIX(Unix/Linux/*BSD), Win32, JRuby,
* Resources
* ISO 639-3 languages
* ISO 3166 region(countries).
* Support Ruby 1.8.7, Ruby 1.9.1, JRuby 1.1.4. Tested on Win32 and

= Ruby-Locale for Ruby on Rails-0.1.0
Ruby-Locale for Ruby on Rails is the L10n plugin which works with
Ruby on Rails 2.2.
This is the first library which depends on Ruby-Locale.

It supports Rails i18n and have the features below:
* Auto-Detect the client locale
* Detect candidate locales from supported locales by the
* Localized Routes
* Localized Action/Fragment cache
* Localized view template files

= Special Thanks
To the previous maintainers of Ruby-Locale.

  • Brian Pontarelli
  • Antonio Terceiro

Best Regards,