Hi,

Wednesday, October 1, 2003, 2:15:10 AM, you wrote:
j> "Tom Rogers" <[EMAIL PROTECTED]> wrote in message
j> news:[EMAIL PROTECTED]

>> Those locales actually have to be available or they will be ignored and
j> that
>> will depend on what type of system your running on.

j> OK, I'm on Windows 2k, and after reading Microsofts docs, I thought it was
j> all there.

j> Maybe not.


>> For example on my system (linux) I had to do
>>
>> localedef -ci es_ES -f ISO_8859-1:1987 es_ES
>>
>> and then a restart on apache to get the Spanish locale working.

j> Restart the server?

j> No way to set this on the fly?


>> (Did I mention manuals :)

j> No, but I got 2 private messages stating "RTFM" and no other comments. They
j> were a big help. :/

j> I'm beginning to think this is tougher than I thought.

j> :/

j> What I'm trying to do is have my new Class be aware of the LOCALE setting
j> and take advantage of that info to return translated strings based upon that
j> setting.

j> I was hoping not to have a method in my Class to define LOCALE, I wanted to
j> pick it up from the system, and even let the user set it on the fly.

j> Thanks for your help Tom.

j> Walter


Under windows you could go to control panel ->regional settings ->input locales
and try adding a few and see if that helps.
I only know about apache and that did need a restart to get it to recognize the
new locales available as I think it caches that information.

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to