Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 52442 invoked from network); 10 Mar 2004 14:37:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Mar 2004 14:37:10 -0000 Received: (qmail 65628 invoked by uid 500); 10 Mar 2004 14:36:51 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 65584 invoked by uid 500); 10 Mar 2004 14:36:51 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 65522 invoked from network); 10 Mar 2004 14:36:50 -0000 Received: from unknown (HELO fep22-app.kolumbus.fi) (193.229.0.60) by daedalus.apache.org with SMTP; 10 Mar 2004 14:36:50 -0000 Received: from [80.186.67.237] by fep22-app.kolumbus.fi with ESMTP id <20040310143650.YKXU3524.fep22-app.kolumbus.fi@[80.186.67.237]> for ; Wed, 10 Mar 2004 16:36:50 +0200 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <60FEA972-72A0-11D8-BE54-000393BD5B24@kolumbus.fi> Content-Type: text/plain; charset=US-ASCII; format=flowed To: forrest-dev@xml.apache.org From: =?ISO-8859-1?Q?Sjur_N=F8rsteb=F8_Moshagen?= Subject: i18n errors, bad downgrading Date: Wed, 10 Mar 2004 16:36:55 +0200 X-Mailer: Apple Mail (2.612) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! I'm testing the i18n features of Forrest, and there are a couple of things that does not work for me. First, the setup: - (almost) latest CVS (from a couple of days before the shift to svn) - running the sample site on default localhost:8888, with minimal modifications to test i18n and l10n: - added tabs_no.xml to translations/ - added index_no.xml to content/xdocs/ - MacOS 10.3.2 - Java 1.4.2_03 - browser: Safari - language preferences: no, sv, da, is, fi, se, en_GB, en (from highest to lowest priority) The problems: - the menu and tabs are not translated when opening localhost:8888/index.html, only the body => Expected: the whole page to be served in the 'no' locale (as all prerequisites are there: menu, tabs, and page) - Page not found when opening samples/index.html, complaining that content/xdocs/samples/index_no.xml does not exist (which is true) => Expected: to be served the default page (index.xml -> index.html), according to the standard (as I have understood cocoon) downgrading scheme: doc_{lang}{country}{encoding}{variant}.xml doc_{lang}{country}{encoding}.xml doc_{lang}{country}.xml doc_{lang}.xml doc.xml - the CLI complained and finally FAILED due to missing _no documents - adding xdocs/index_no.xml seemed to indicate to the CLI that ALL files should also exist in _no variants. That assumption does not hold, and will never hold for my site. => Expected: the CLI should generate whatever is given to it - if one file has five language variants, another three, and still another only one, it should generate exactly that site. It has to be up to the content negotiation to pick the _best_ one, given the users priorities. Sjur