Hello,
I can't use the french language.
I have the gettext enable but the test don't pass.
Here is the beginning of my phpinfo where phpESP is
running on :
PHP Version 4.3.1
System Linux PPR 2.4.22 #3 Thu Oct 9 22:27:44 CEST
2003 i686
Build Date Oct 21 2003 23:29:43
Configure Command './configure' '--with-iodbc'
'--with-gd' '--with-zlib-dir=/usr/include/zlib.h'
'--with-jpeg-dir=/usr/local/include/jpeglib.h'
'--with-gettext' '--with-pear'
'--with-apxs2=/usr/Apache/bin/apxs'
Server API Apache 2.0 Filter
GetText Support enabled
I'm not a coder so I can't help your more than test it...
And this is my first bug report, so please don't be so
rude :)
Anyway, anything else works fine until now.
Thanks for all.
Test page with error : %%%% Gettext Test Failed
Logged In: YES
user_id=1077870
I'm ve got the same bug on a debian woody linux server... I
try to figure out too. The test.php return this informations
(*.*.*.* = IP Adress of the server) :
PHP Information
Version: 4.1.2
OS: Linux
SAPI: apache
register_globals: Yes
magic_quotes_gpc: Yes
magic_quotes_runtime: No
safe_mode: No
open_basedir:
PHP Extensions
dBase: No
GD: Yes
GNU Gettext: Yes
LDAP: Yes
MySQL: Yes
PHP Extension Dir (compiled): /usr/lib/php4/20010901
PHP Extension Dir (run time): /usr/lib/php4/20010901
phpESP Settings
Expected ESP_BASE: /home/phpesp/phpESP-1.6.1/
Expected base_url: http://\*.*.*.*/enquetes/
Loading phpESP.ini.php ...
ESP_BASE: /home/phpesp/phpESP-1.6.1/
base_url: http://\*.*.*.*/enquetes/
Version: 1.6.1
Debug: No
phpESP Language Settings
GNU Gettext: Real
default_lang: fr_FR
current lang: fr_FR
available langs: da_DK, de_DE, el_GR, en_US, es_ES, fr_FR,
it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE
(da, de, el, en, es, fr, it, ja, nl, pt, sv)
GNU Gettext test: %%%% Gettext Test Failed
Catalog Open Test: Yes
PHP Session Test
session.save_path: /tmp
Counter: 1
Logged In: NO
There is some known problem with Woody. Please look through
the phpesp-general mailing list archives.
-James
Logged In: NO
Hmm, I cannot find the post, but I believe it has something
to do with wheather the requested locale exists for Debian
(/usr/share/locale).
Logged In: YES
user_id=39444
Also reported to fail with:
Debian GNU/\s 3.0 \n \l
gettext (GNU gettext) 0.10.40
PHP: 4.1.2
User: freaky2000
Bug: 935040
Logged In: YES
user_id=1077870
Hi again, i found the solution that was explained in previous
faq answer.
I thought, you'd better add this info in the install
documentation of phpesp 1.6.1 for debian woody users...
I had to make dpkg-reconfigure locales (set fr_FR and not
fr_FR with EURO because it generate the %%%% Gettext
Test Failed...)
Best regards,
Guillaume
Logged In: YES
user_id=39444
A note will be added to the FAQ and/or documentation
mentioning this known issue for Debian Woody. Thanks for
the feedback Guillaume.