From: Ron W. <rwh...@ar...> - 2006-03-05 19:54:31
|
I did not have the French locale installed. It is not mentioned in the prerequisites. It took a bit of digging to find out that it was needed. I had to rea= d=20 and screw around with the espi8n.inc code to see how it was working a= nd=20 to be sure that the code actually worked. I have submitted a bug report with a suggested fix to the documentati= on. Thanks for the help. I have phpESP1.8 working with the 64 bit version= s=20 of Apache 2.0, MySql 4.1.2 and PHP 5 on the 64 bit version of Madriva= 2006 . Ron Mario CASTELLAZZI wrote: > I had this problem. And I found a solution that i posted on this li= st=20 > in january of 2005. > > Here it is. > > 2003-01-05 05:40 > I had problems in order to have the internalization work correctly= . > =20 > After having read the mailing list, i found an (very good) arricle= at the URL > http://zez.org/article/articleprint/42/ which explains the internat= ionalization with PHP and > gettext (this article is referenced in the news of phpesp). > =20 > That"s why i have modified PHPESP.INI by replacing setlocale (LC_A= LL, $ESPCONFIG["lang"]) > by what is written in this former article, that is : putenv ("LC_AL= L=3D" . $ESPCONFIG["lang"]) > =20 > And then it worked (at least for the french language that i have t= ried). > =20 > NOTE : > I have installed PHP 4.1.1 and APACHE 1.3 > When i tried to install the gettext extension with PHP 4.2.3 and A= PACHE 2, i had problems. > A message told me that it couldn"t find the php_gettext.dll althoug= h this dll was present > and that libintl-1.dll was well installed in my WINNT/SYSTEM32 dire= ctory (i have windows > 2000 professional). > That"s why i decided to install back prior versions of APACHE and = PHP. > Now, it works. > =20 > > > > Wish it can help you. > > > > Ron Wheeler a =E9crit : >> The administration page is still in English even though the test= =20 >> page output seems to indicate that everything is set to French. >> How is the language string selected? >> >> Ron >> >> PHP Information >> >> * Version: 5.0.4 >> * OS: Linux >> * SAPI: apache2handler >> * register_globals: No >> * magic_quotes_gpc: No >> * magic_quotes_runtime: No >> * safe_mode: No >> * open_basedir: >> >> PHP Extensions >> >> * dBase: No >> * GD: Yes -- 2.0 or higher >> * GNU Gettext: Yes >> * LDAP: Yes >> * MySQL: Yes >> * PHP Extension Dir (compiled): /usr/lib64/php/extensions >> * PHP Extension Dir (run time): /usr/lib64/php/extensions >> >> phpESP Settings >> >> * Expected ESP_BASE: /home/usr/local/www/www.eduxxx >> * Expected base_url: www.eduxxx >> * *Loading phpESP.ini.php ...* >> * ESP_BASE: /home/usr/local/www/www.eduxxx/ >> * base_url: http://www.eduxxx >> * Version: 1.8 >> * 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, fi, fi_FI= , >> fr_FR, hu_HU, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE >> (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) >> * GNU Gettext test: Passed >> * Catalog Open Test: Yes >> >> PHP Session Test >> >> * session.save_path: /tmp >> * Counter: 2 >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting= =20 >> language >> that extends applications into web and mobile media. Attend the li= ve=20 >> webcast >> and join the prime developer group breaking into this new coding= =20 >> territory! >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D24172= 0&dat=3D121642 >> _______________________________________________ >> phpESP-general mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpesp-general >> >> > ------------------------------------------------------- This SF.Net= =20 > email is sponsored by xPML, a groundbreaking scripting language tha= t=20 > extends applications into web and mobile media. Attend the live= =20 > webcast and join the prime developer group breaking into this new= =20 > coding territory!=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720= &dat=3D121642=20 > _______________________________________________ phpESP-general mail= ing=20 > list php...@li...=20 > https://lists.sourceforge.net/lists/listinfo/phpesp-general=20 |