Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 48950 invoked from network); 21 Mar 2007 16:23:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 16:23:30 -0000 Received: (qmail 93471 invoked by uid 500); 21 Mar 2007 16:23:37 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 93436 invoked by uid 500); 21 Mar 2007 16:23:37 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 93423 invoked by uid 99); 21 Mar 2007 16:23:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:23:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [129.67.1.161] (HELO relay0.mail.ox.ac.uk) (129.67.1.161) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 09:23:26 -0700 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay0.mail.ox.ac.uk with esmtp (Exim 4.62) (envelope-from ) id 1HU3ab-0001cF-0H for user@forrest.apache.org; Wed, 21 Mar 2007 16:23:05 +0000 Received: from oucs-rossg.oucs.ox.ac.uk ([129.67.101.125]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HU3aa-0007a6-8p for user@forrest.apache.org; Wed, 21 Mar 2007 16:23:05 +0000 Message-ID: <46015BEA.4050207@apache.org> Date: Wed, 21 Mar 2007 16:23:06 +0000 From: Ross Gardler Organization: OSS Watch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: Can't create a multi-language static site References: <20553.80815.qm@web51308.mail.re2.yahoo.com> In-Reply-To: <20553.80815.qm@web51308.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: oucs0040 X-Virus-Checked: Checked by ClamAV on apache.org Andrew Telford wrote: > I am using the current svn HEAD (r520669). I added > > project.i18n=true ... > The comment that comes with the "project.i18n" property says that "if you want to use it for static site then modify the JVM system.language and run once per language". This part escapes me. I have tried various things, like adding "forrest.jvmargs=-Dsystem.language=fr" or "forrest.jvmargs="-Dsystem.language=fr"" to forrest.properties, doing an "export LANG=fr" in the shell before running forrest, etc., but nothing seems to result in forrest generating content in build/site/fr. > Can anyone give some specific instructions to help me "run once per language" to generate a multilanguage static site? I am on gentoo linux. Does http://article.gmane.org/gmane.text.xml.forrest.user/3620 help? It would be really useful if you could write an outline doc describing how you get i18n working. This comes up fairly frequently and we disparately need a doc (as you have discovered). It doesn't matter if it is not complete, just something more than we currently have. Ross