Re: Problems with GetText
| From: | Daniel Carrera | Date: | Mon, 13 Aug 2007 14:42:05 +0000 |
| Subject: | Re: Problems with GetText | ||
| References: | 1 2 3 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1111@lists.php.net to get a copy of this message | ||
Daniel Carrera wrote:
Max_B wrote:Aha! setlocale(LC_ALL, 'es') returns false (and the server is Linux). My test program: <?phpHere 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.
$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.