OK. Pay attention that your command-line PHP (PHP-cli) might be
different from your webserver PHP. Thus you may have gettext enabled
when using a browser whereas not in command line (when executing
testgettext.php).
To make sure try the following command:
php -i | grep gettext
or look for gettext in:
php -i | less
Anyway if your "web" PHP is gettext-enabled and if gettext binaries are
installed on your computer, you should be able to use gettext
translation with your cartoweb.
Have you tried running the demoCW3 project? It provides FR and EN
example translations. Installing this project is quite easy: after
installing CW3, simply type "php cw3setup.php --fetch-demo".
Andreas Kreis wrote:
Hi
Thanks for your feedback. Phpinfo tells me that gettext support is
enabled.
Form your feedback I understand that my installation is ok to run CW
scripts which generate .mo/.po files.
I will try this - I thought it would make no sense to go on as long as I
receive this error message from the testgettext script (see also CW user
manual)
Thanks again and best regards
Andreas Kreis
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users