Posix locales in ruby?

Hi,

any idea how localise ruby applications by locales settings on posix
systems ? At least localized formating of numerics, date & time,
currency and string collation ? Based on environment settings
LC_NUMERIC, LC_TIME, LC_MONETARY, LC_COLLATE etc.

In Python there is locale
library(http://docs.python.org/library/locale.html) so I can simply call
setlocale(LC_ALL, “”) and from now on most of library functions return
localised values, strings are collated by current locale settings etc.

So are there some solutions for current Ruby 1.9.x ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs