Re: [PHP] gettext() troubles

2005-09-23 Thread Jochem Maas
Aaron Gould wrote: Denis Gerasimov wrote: anyone who has worked with locales on different machines/platforms will probably run into the problem that locales are different and/or differently named on alot of systems... for this reason (I believe) set_locale() allows you to pass an array of

Re: [PHP] gettext() troubles

2005-09-23 Thread Aaron Gould
Denis Gerasimov wrote: Here's what I use to set my language (to French in this case). It works 100% of the time for me: // Set locale to preferred language setlocale(LC_ALL, 'fr_FR'); bindtextdomain('messages', $_SERVER['DOCUMENT_ROOT'].'/locale'); textdomain('messages'); I don't d