From: Jan Svitok Date: 2007-02-13T03:09:09+09:00 Subject: Re: Windows Language On 2/12/07, Jason Mayer wrote: > On 2/12/07, Andr� 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).