Ruby-Locale is the pure ruby library which provides basic APIs for localization. See http://www.yotabanana.com/hiki/ruby-locale.html.