Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 34231 invoked from network); 23 May 2006 07:04:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 07:04:00 -0000 Received: (qmail 57722 invoked by uid 500); 23 May 2006 07:03:59 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 57549 invoked by uid 500); 23 May 2006 07:03:58 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 57535 invoked by uid 99); 23 May 2006 07:03:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 00:03:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.140.140.203] (HELO ctn1.che-che.com) (195.140.140.203) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 00:03:57 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by ctn1.che-che.com (Postfix) with ESMTP id 089FB27F50 for ; Tue, 23 May 2006 09:03:26 +0200 (CEST) Received: from ctn1.che-che.com ([127.0.0.1]) by localhost (ctn1.che-che.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10117-04 for ; Tue, 23 May 2006 09:03:22 +0200 (CEST) Received: from [192.168.1.15] (134.Red-80-33-115.staticIP.rima-tde.net [80.33.115.134]) by ctn1.che-che.com (Postfix) with ESMTP id 305DF27F4F for ; Tue, 23 May 2006 09:03:22 +0200 (CEST) Message-ID: <4472B3C6.7060609@apache.org> Date: Tue, 23 May 2006 09:03:34 +0200 From: Juan Jose Pablos User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Using browser headers for i18n? (was: Per-project i18n LocaleAction and LocaleMatcher configuration) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at che-che.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Bertrand!, Bertrand Delacretaz wrote: > I'm preparing a simple patch against the trunk, to make i18n more > consistent, mostly by using a single definition of the LocaleAction > and LocaleMatcher, in the main sitemap. > Back in 2003 the were objections about doing this way: http://mail-archives.apache.org/mod_mbox/forrest-dev/200308.mbox/%3c20030805065431.GB57991@minotaur.apache.org%3e I am happy to have a single definition (i was back then) but It does not work in my side. I am not able to produce local content, I will investigate the reason > This allows the locale to be selected reliably by a request parameter > (?locale=fr for example) ok, but when you try to build a static site, you end up with: index.html index.html_locale=de index.html_locale=fr That is why we do not want to use get parameters. , whereas in the current trunk is a bit > inconsistent with several LocaleAction definitions (all with default > settings, no big deal) Historical reasons :-) and also use of request:locale in some places > vs. LocaleAction/locale in other places. I used request:locale, because it was the only way to get it working > I haven't solved the configuration problem yet (how to make the > parameters of these components configurable per project), so my > question is about the default settings: > > Should the "use browser-supplied headers to select locale" option stay > on as the default? > as long as we find another way to getting working. > But the previous default was to have this option on, so I don't want > to change it if that was on purpose. > > WDYT? > I had a look on your patch, but for me it is not working. If I revert this line: > - > + Then your stuff fails, so I guess that we need to find why both options can not work well together. WDYT? Cheers, cheche