From: Ron W. <rwh...@ar...> - 2006-03-01 14:26:11
|
The administration page is still in English even though the test 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 |
From: Mario C. <mar...@wa...> - 2006-03-04 13:48:09
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I had this problem. And I found a solution that i posted on this list in january of 2005.<br> <br> Here it is.<br> <br> <table width="100%"> <tbody> <tr> <td bgcolor="#dddddd" nowrap="nowrap">2003-01-05 05:40 </td> </tr> <tr> <td> <pre> I had problems in order to have the internalization work correctly. After having read the mailing list, i found an (very good) arricle at the URL <a href="http://zez.org/article/articleprint/42/" target="_NEW">http://zez.org/article/articleprint/42/</a> which explains the internationalization with PHP and gettext (this article is referenced in the news of phpesp). That"s why i have modified PHPESP.INI by replacing setlocale (LC_ALL, $ESPCONFIG["lang"]) by what is written in this former article, that is : putenv ("LC_ALL=" . $ESPCONFIG["lang"]) And then it worked (at least for the french language that i have tried). 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 APACHE 2, i had problems. A message told me that it couldn"t find the php_gettext.dll although this dll was present and that libintl-1.dll was well installed in my WINNT/SYSTEM32 directory (i have windows 2000 professional). That"s why i decided to install back prior versions of APACHE and PHP. Now, it works. </pre> </td> </tr> </tbody> </table> <br> <br> Wish it can help you.<br> <br> <br> <br> Ron Wheeler a écrit : <blockquote cite="mid...@ar..." type="cite">The administration page is still in English even though the test page output seems to indicate that everything is set to French. <br> How is the language string selected? <br> <br> Ron <br> <br> PHP Information <br> <br> * Version: 5.0.4 <br> * OS: Linux <br> * SAPI: apache2handler <br> * register_globals: No <br> * magic_quotes_gpc: No <br> * magic_quotes_runtime: No <br> * safe_mode: No <br> * open_basedir: <br> <br> PHP Extensions <br> <br> * dBase: No <br> * GD: Yes -- 2.0 or higher <br> * GNU Gettext: Yes <br> * LDAP: Yes <br> * MySQL: Yes <br> * PHP Extension Dir (compiled): /usr/lib64/php/extensions <br> * PHP Extension Dir (run time): /usr/lib64/php/extensions <br> <br> phpESP Settings <br> <br> * Expected ESP_BASE: /home/usr/local/www/www.eduxxx <br> * Expected base_url: <a class="moz-txt-link-abbreviated" href="http://www.eduxxx">www.eduxxx</a> <br> * *Loading phpESP.ini.php ...* <br> * ESP_BASE: /home/usr/local/www/www.eduxxx/ <br> * base_url: <a class="moz-txt-link-freetext" href="http://www.eduxxx">http://www.eduxxx</a> <br> * Version: 1.8 <br> * Debug: No <br> <br> phpESP Language Settings <br> <br> * GNU Gettext: Real <br> * default_lang: fr_FR <br> * current lang: fr_FR <br> * available langs: da_DK, de_DE, el_GR, en_US, es_ES, fi, fi_FI, <br> fr_FR, hu_HU, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE <br> (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) <br> * GNU Gettext test: Passed <br> * Catalog Open Test: Yes <br> <br> PHP Session Test <br> <br> * session.save_path: /tmp <br> * Counter: 2 <br> <br> <br> <br> ------------------------------------------------------- <br> This SF.Net email is sponsored by xPML, a groundbreaking scripting language <br> that extends applications into web and mobile media. Attend the live webcast <br> and join the prime developer group breaking into this new coding territory! <br> <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642</a> <br> _______________________________________________ <br> phpESP-general mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:php...@li...">php...@li...</a> <br> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/phpesp-general">https://lists.sourceforge.net/lists/listinfo/phpesp-general</a> <br> <br> <br> </blockquote> </body> </html> |
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 |