Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 8344 invoked from network); 30 Aug 2008 18:14:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2008 18:14:43 -0000 Received: (qmail 67590 invoked by uid 500); 30 Aug 2008 18:14:41 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 67576 invoked by uid 500); 30 Aug 2008 18:14:41 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 67565 invoked by uid 99); 30 Aug 2008 18:14:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2008 11:14:41 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2008 18:13:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 310C3234C1C3 for ; Sat, 30 Aug 2008 11:13:44 -0700 (PDT) Message-ID: <600165880.1220120024186.JavaMail.jira@brutus> Date: Sat, 30 Aug 2008 11:13:44 -0700 (PDT) From: "Janne Jalkanen (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Resolved: (JSPWIKI-333) language selection/detection doesn't always work In-Reply-To: <1120651677.1218441825536.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Janne Jalkanen resolved JSPWIKI-333. ------------------------------------ Resolution: Fixed Fix is in 2.7.0-alpha-32. Thanks! > language selection/detection doesn't always work > ------------------------------------------------ > > Key: JSPWIKI-333 > URL: https://issues.apache.org/jira/browse/JSPWIKI-333 > Project: JSPWiki > Issue Type: Bug > Components: Localization > Affects Versions: 2.7.x > Reporter: Florian Holeczek > Fix For: 2.8 > > Attachments: JSPWIKI-333.JPG, JSPWIKI-333.patch > > > JSPWiki doesn't always detect the preferred language from the browser. The intended behaviour is that if there is no user-pref cookie, the language setting *should* follow the language of the browser. > This is a collection of facts from several mails on the list. > Florian reports: > {quote} > I've got a personal wiki installed on Tomcat 6, which runs without this problem. This installation (v2.7.0-alpha-9) has been upgraded successively from 2.6. > 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. > {quote} > Janne reports: > {quote} > Yup, just checked. It works on 2.6.3, but not on any 2.8 alpha releases. > {quote} > Harry reports: > {quote} > I tested against v2.7.0-svn-44 , it doesn't work there. > I checked the source of the latest version, could not find anything reading the Language header, just reading the cookie contents (mainly Preferences class). > Some additional testing (all with FF3 on XP) confirm the same results as Janne : > v2.7.0-svn-44 ==> doesn't work > v2.7.0-alpha-9 ==> doesn't work > 2.6.3-rc-2 ==> works > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.