Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Tomas Kuliavas
>>> 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: > >

Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Daniel Carrera
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 pr

Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Daniel Carrera
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. -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Max_B
Daniel Carrera-2 wrote: > > setlocale(LC_ALL, 'es'); > bindtextdomain('messages', '/home/theingot/public_html/locale'); > textdomain('messages'); > echo "English: About us"; > echo "Spanish: "._('About us'); > echo ""; > phpinfo() > ?> > Here is a link to ht

Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Daniel Carrera
Max_B wrote: - The 'About us' is not translated. - See for yourself: http://theingots.org/test.php - I've checked that the .po file is in /home/theingot/public_html/locale/es/LC_MESSAGES/messages.po - The file is readable and has a translation for 'About us'. The .po is not used by itself, y

Re: [PHP-I18N] Problems with GetText

2007-08-13 Thread Max_B
Daniel Carrera-2 wrote: > > - The 'About us' is not translated. > - See for yourself: http://theingots.org/test.php > - I've checked that the .po file is in >/home/theingot/public_html/locale/es/LC_MESSAGES/messages.po > - The file is readable and has a translation for 'About us'. > The .po