# Locale-2.0.2, locale\_rails-2.0.2

**URL:** <https://www.ruby-forum.com/t/locale-2-0-2-locale-rails-2-0-2/167319>\
**Category:** Ruby\
**Created:** [May 6, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/locale-2-0-2-locale-rails-2-0-2/167319 "2009-05-06T17:54:44Z")\
**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:** [May 6, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/locale-2-0-2-locale-rails-2-0-2/167319/1 "2009-05-06T17:54:44Z")

</div>

Hi,

Ruby-Locale(locale-2.0.2) and  
Ruby-Locale for Ruby on Rails(locale\_rails-2.0.2)  
are now available.

Ruby-Locale is the library to manage/detect various format  
of locale IDs(language tags), and provide ISO 639-3,  
ISO-3166 data.

- locale - Manage Locale IDs, Auto-detect locales. ISO-639-3, 3166 data.
- locale\_rails - Rails support with locale

## Changes

== locale-2.0.2

- Add Locale.set\_app\_language\_tags to restrict the target locales  
whole the application. [Suggested by Vladimir Dobriakov]
- locale/driver/cgi.rb: Add Locale.set\_request.
- sample/rack: Add a sample for rack.
- Improve documents.
- Fix bugs
  - Illegular → Irregular [by Denis D.]
  - test\_thread.rb doesn’t work under the environment where LC\_ALL is  
set .  
[Reported by Hans de Graaff (Bug#24831)]
  - Fixed Locale::Drive::CGI.charset don’t work when accept\_charset is  
nil.  
[Reported by hallelujah (Bug#25583)]
  - Fixed Locale::Drive::Win32.charset don’t work.

== locale\_rails-2.0.2

- Remove I18n.candidates. Use Locale.candidates directly.
- Improve documentations.
- Override I18n.default\_locale= to call Locale.default.

## Thanks to

Denis D., Hans de Graaff, hallelujah, Vladimir Dobriakov

## Website

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

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

- github  
[GitHub - mutoh/locale: Ruby-Locale is the pure ruby library which provides basic and general purpose APIs for localization.](http://github.com/mutoh/locale/tree/master)  
[GitHub - mutoh/locale\_rails: Ruby on Rails (\>=2.2) localization support(auto locale detection, localized caches, views, routes, etc...) with Ruby-Locale.](http://github.com/mutoh/locale_rails/tree/master)

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

- Ruby-Locale HOWTOs  
[http://www.yotabanana.com/hiki/ruby-locale-howto.html](http://www.yotabanana.com/hiki/ruby-locale-howto.html)

- Ruby-Locale for Ruby on Rails HOWTOs  
[http://www.yotabanana.com/hiki/ruby-locale-rails-howto.html](http://www.yotabanana.com/hiki/ruby-locale-rails-howto.html)
