Hi,

On Wed, 3 Jan 2007 14:39:02 +0900
"Jeremy McAnally" <jeremymcanally / gmail.com> wrote:

> I'm working on a library, and it would be very nice to automatically
> be able to switch out the data based on the user's locale.  Is there a
> way to automatically find that?  Or is that something they will need
> to setup?

Ruby-GetText-Package supports the system locale.

Try GetText.locale or Locale.get.
http://www.yotabanana.com/gettextapi/