On Tue, Feb 22, 2005 at 12:19:22PM +0100, Ives Steglich wrote:
> Date: Tue, 22 Feb 2005 12:19:22 +0100
> From: Ives Steglich <[EMAIL PROTECTED]>
> To: [email protected]
> Reply-To: [email protected]
> Subject: Re: [OpenCA-Devel] language/localization question
> 
> Piotr Wadas wrote:
> >Hello,
> 
> >Additionally in my installation "Language" button doesn't work as 
> >expected, e.g. when I have polish (PL) language and click e.g. "english",
> >or "german", I still have polish, even after log in/out.
> 
> thats strange, usaly it should work, but you may have a look at the code 
> in initServer, basicaly at setLanguage and setBrowserLanguage and where 
> they get called
> 
> .../OpenCA/lib/functions/initServer
> 
> usaly the behavior should be:
> 
> set the browser prefered language if possible
> otherwise use C
> 
> this can get overwritten by user during the session
> when he clicks on a language at the interface
> (since initSession gets always called after setBrowserLanguage,
>  so the userselection should overwrite this in a session)
> 
> maybe you enable some debugging... then you should see, when which 
> language gets set it should be wirtten in the stderr.log file
> 
> in etc/log.xml

  This also could be caused if not necessary locale is installed. Piotr,
do you have locales package installed and what your /etc/locale.gen
looks like? IIRC when I installed imp3, which supports variety of
languages, it didn't want to switch to another language, until I've
generated needed locales. It may be your case also.

--
Alexei Chetroi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
OpenCA-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to