Re: [PHP-I18N] Re: Problems with GetText
[email protected] (Addison Phillips) Mon, 13 Aug 2007 08:23:41 -0700
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
You need to have a Spanish locale installed. Running the 'locale -a' command will tell you what locales are installed. Many server companies save room by not installing all of the locales. You may also find that there are Spanish locales such as 'es_ES' or 'es_CO' installed, just not one called 'es'. Hope that helps. Regards, Addison -- Addison Phillips Globalization Architect -- Yahoo! Inc. Chair -- W3C Internationalization Core WG Internationalization is an architecture. It is not a feature. Daniel Carrera wrote: > Tomas Kuliavas wrote: >> var_dump(setlocale(LC_ALL, 'es')); >> >> setlocale() call is used only on Linux OS'es and you will need working >> system locale (check 'locale -a' output). BSD needs environment >> variables. setlocale return values are not correct on OpenBSD. > > Thanks. The output of that is 'false' and the system is Linux. What > should I say to my web host? What do they need to do? > > Thanks a lot for the help. I was really stuck. >