Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 32341 invoked from network); 30 Mar 2006 03:01:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 03:01:49 -0000 Received: (qmail 683 invoked by uid 500); 30 Mar 2006 03:01:48 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 645 invoked by uid 500); 30 Mar 2006 03:01:48 -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 634 invoked by uid 99); 30 Mar 2006 03:01:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 19:01:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 19:01:47 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id CBB306ACAD for ; Thu, 30 Mar 2006 04:01:26 +0100 (BST) Message-ID: <777324037.1143687686831.JavaMail.jira@ajax> Date: Thu, 30 Mar 2006 04:01:26 +0100 (BST) From: "David Crossley (JIRA)" To: dev@forrest.apache.org Subject: [jira] Updated: (FOR-580) Default language in forrest.properties In-Reply-To: <1244572938.1121843928960.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/FOR-580?page=all ] David Crossley updated FOR-580: ------------------------------- Component: Internationalisation (i18n) (was: Core operations) > Default language in forrest.properties > -------------------------------------- > > Key: FOR-580 > URL: http://issues.apache.org/jira/browse/FOR-580 > Project: Forrest > Type: New Feature > Components: Internationalisation (i18n) > Versions: 0.8-dev > Reporter: Sjur N. Moshagen > > When developing a multilingual site, it would be beneficial if the default/fallback language could be configured from forrest.properties. This would imply that, given 'no' as fallback, one of the following two scenarios would be true: > 1) > files: index.xml, index_es.xml, index_en.xml > Requests for both index.html and index_no.html would generate the returned page from index.xml > 2) > files: index_no.xml, index_es.xml, index_en.xml > Requests for both index.html and index_no.html would generate the returned page from index_no.xml > In both cases the end result would be that there would be no need to maintain more than one file for the fallback language. > I would prefer the second alternative just for the sake of symmetry and equality of languages. It has the additional benefit of making it very easy to change the default/fallback language - just change the forrest.properties setting. The second alternative would also make it easier to create a language override menu, as all the available languages/locales would be encoded explicitly in the file name. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira