From: James E. F. <jf...@ac...> - 2002-02-24 15:57:24
|
On Sun, 24 Feb 2002, Wouter van Gils wrote: > Sorry to bother everyone again with the language thing, but it > appears not to be working correct. > > I've downloaden the latest version, did all the readme stuff, > added an other language (mo + po files) and loaded the admin page > --> it worked, everything was in Dutch :) > > Then, I clicked on 'Maak een vragenlijst' (create survey), and > everything turned back to English.... :( what happened. Even > after a few reloads, I still get only English, no Dutch will > appear, no matter what I try... > > Has anybody got suggestions on how to fix this... the gettext is > working fine on my box. > > Apache/1.3.9 (Unix) Debian/GNU > PHP Version 4.0.3pl1 > Linux 2.2.20 > > ps: same errors on php 4.1.1 Try enabling DEBUG (in the phpesp.ini). Then on the page where it switches back to english click on the debug button (in the upper left of the page). Look to see what "lang" is set to under "ESPCONFIG", look at "HTTP_ACCEPT_LANGUAGE" under "HTTP_SERVER_VARS", also note the "SID" (first thing on the page). Compare these values to the same ones on the main page (or some other that is in Dutch). I cannot reproduce the problem. It stays in Dutch for me. Please email me off-list with the mentioned debug items (once on a page that works, and once on a page that doesn't), as well as the browser you are using. -James |