From: Vitaliy Morarian Date: 2002-02-11T20:07:51+09:00 Subject: Re: locale 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. > 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... With best regards, Vitaliy T Morarian [team Enticla]