Re: [PHP-I18N] Problems with GetText

[email protected] (Daniel Carrera) Mon, 13 Aug 2007 16:42:05 +0200
Newsgroups php.i18n
Message-ID <[email protected]>
Daniel Carrera wrote:
> Max_B wrote:
>> Here is a link to 
>> http://coderie.ac-mb.info/english.php?article=phppoll#i18n a page I 
>> wrote a
>> while ago , where there are a few hints about locale.
> 
> Thanks. Will take a look.

Aha! setlocale(LC_ALL, 'es') returns false (and the server is Linux). My 
test program:

<?php
     $locale = var_export(setlocale(LC_ALL, 'es'), true);
     echo "Locale: $locale<br/>";
?>

The output is 'Locale: false'.

What should I say to my web host company? I'm not sure I know enough to 
articulate the problem (other than "it doesn't work"). The server is 
running Linux. What does the web host have to do to make the locales I 
want "available"?

Cheers,
Daniel.