Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 14481 invoked from network); 11 Aug 2008 05:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 05:19:47 -0000 Received: (qmail 36831 invoked by uid 500); 11 Aug 2008 05:19:46 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 36816 invoked by uid 500); 11 Aug 2008 05:19:46 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 36805 invoked by uid 99); 11 Aug 2008 05:19:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 22:19:46 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harry.metske@gmail.com designates 209.85.198.247 as permitted sender) Received: from [209.85.198.247] (HELO rv-out-0708.google.com) (209.85.198.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 05:18:50 +0000 Received: by rv-out-0708.google.com with SMTP id k29so1899571rvb.0 for ; Sun, 10 Aug 2008 22:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=wtdImRxGii1VDlkc/ZGTrBC2VKFUWx1R96RS9BSxQ1g=; b=ND7SFbKErpboI6KjVBAAInATYODs+tqt3dSgo0W7tbgtI4X2qzsTgY9b3yKLvCxVtI wAFa/Mt3kQgzUwpdv0Klp3HnquQi6w3hZ733LIksHRSpVmWP6A/rlgEXu3SxJsdI8sj/ dCZldvr2/qD9P6Lv/bN0nuDGKwCx3wdzvsif4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=mVjjWIdb9Scg4fJwUuDJoBoaB5r0OyWRHt4VeVsbfnSpWxSVTSH4feFjinbj33dCCd yJFtYgxO2lZsNNK6NP0UtrgcjoxxJ0E3oBroIgXmCSq09DFh3B8ME2kq0cAb4RJvmqCY LULtcA/81whYeHZ8bwTCABs11WgLxcHNOX/u0= Received: by 10.115.90.1 with SMTP id s1mr3084889wal.214.1218431940998; Sun, 10 Aug 2008 22:19:00 -0700 (PDT) Received: by 10.114.241.18 with HTTP; Sun, 10 Aug 2008 22:19:00 -0700 (PDT) Message-ID: <3a6c97f00808102219u1b283c4fmea39dc00f43290af@mail.gmail.com> Date: Mon, 11 Aug 2008 07:19:00 +0200 From: "Harry Metske" To: jspwiki-user@incubator.apache.org Subject: Re: language selection in glassfish appserver In-Reply-To: <959851246.20080811013147@holeczek.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_49131_20524245.1218431940980" References: <959851246.20080811013147@holeczek.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_49131_20524245.1218431940980 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Florian, I think this is WAD (Works As Designed). JSPWiki tries to find the JSPWikiUserPrefs cookie and then tries to find the language setting in there. If there is no such cookie, or this cookie doesn't contain the language setting it defaults to English. JSPWiki does not use the Language header(s) sent by your browser :-( (I dont know why not). regards, Harry 2008/8/11 Florian Holeczek > Hi all, > > I've got a personal wiki installed on Tomcat 6, which runs without any > problems. > > Now I've deployed the JSPWiki v2.7.0-alpha-9 on a Glassfish 2ur2 > server and get English as the default language for a not yet > configured browser (without JSPWiki cookies), although it is set to > select de-de as primary language. It's the same with Firefox 3 and IE > 7. > > However, switching to german language in the user preferences works. > > Anyone else experienced this issue or even knows how to fix it? > > Best Regards > Florian > -- met vriendelijke groet, Harry Metske Telnr. +31-548-512395 Mobile +31-6-51898081 ------=_Part_49131_20524245.1218431940980--