On 2/12/07, Jason Mayer <slamboy / gmail.com> wrote: > On 2/12/07, Andr<andre.nho / gmail.com> wrote: > > > > Hello, > > > > Is it possible to find the Windows natural language (ex. English, > > French, Russian, etc...) from Ruby? > > > > Thank you in advance, > > > > Andr> > If you don't mind using some good old fashioned command line tools, here's a > solution. > > variables = `set` > lang_used = variables.scan(%r{LANG=.}) > puts lang_used > > Hope that helps. > I have no such variable set (XP SP2).