From: Alexander Danilov Date: 2002-02-12T03:47:30+09:00 Subject: Re: locale On Mon, Feb 11, 2002 at 08:07:51PM +0900, Vitaliy Morarian wrote: > Hi! > > > > How to change locale in ruby? I want to use national representation of > day, > > > week, etc in strftime. > > > In example: > > > print Time.now.strftime("Today: %A, %d %B %Y") > > As I understand at the current moment of development of Ruby you > > must load module 'locale' (look at RAA) > > #!/usr/local/bin/ruby -rlocale > > Locale.set(LC::ALL,"ru_RU.KOI8-R") > Hm, i didn't find this module, and I writed my extention. it's strange, i find ruby-locale v0.2 at RAA > > > but it does not help you with "russian for example text".split(//) > > but may be help with Time.now > > (I don't remember) > Hm, interesting...