Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 67201 invoked from network); 9 Jun 2005 10:57:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2005 10:57:23 -0000 Received: (qmail 17764 invoked by uid 500); 9 Jun 2005 10:57:22 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 17725 invoked by uid 500); 9 Jun 2005 10:57:22 -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 17706 invoked by uid 99); 9 Jun 2005 10:57:22 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 09 Jun 2005 03:57:21 -0700 Received: (qmail 66920 invoked from network); 9 Jun 2005 10:56:36 -0000 Received: from localhost.hyperreal.org (HELO ?127.0.0.1?) (127.0.0.1) by localhost.hyperreal.org with SMTP; 9 Jun 2005 10:56:36 -0000 Message-ID: <42A82060.9080604@apache.org> Date: Thu, 09 Jun 2005 12:56:32 +0200 From: Juan Jose Pablos User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en, es MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: [jira] Commented: (FOR-506) Do not hard-code site-visible message strings in skin files References: <1132638976.1117858002769.JavaMail.jira@ajax.apache.org> <1117915658.2055.1.camel@allegro.colcan.biz> <42A210E1.4050707@apache.org> <1117921790.5108.10.camel@localhost.localdomain> <1117932952.2055.13.camel@allegro.colcan.biz> <1117937998.5108.29.camel@localhost.localdomain> <1117940603.2055.35.camel@allegro.colcan.biz> <1117973094.7000.38.camel@localhost.localdomain> <1118113877.4608.24.camel@localhost.localdomain> <429D87D2.10002@apache.org> <1118285667.29344.42.camel@allegro.colcan.biz> In-Reply-To: <1118285667.29344.42.camel@allegro.colcan.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Pedro I. Sanchez wrote: > The string $(env.LANG} works well inside main/forrest.build.xml. It was > the default before you made changes to the trunk. But the same string is > ignored when you use it inside webapp/sitemap.xmap (skin labels are > looked up in the English dictionary, even if LANG=es_ES). > are you talking about tabs and menus or are you talking about "Last Published:" > > I don't believe what you did is right, sorry if I misunderstand :| > You replaced my 'project.language' with 'user.language' but you are not > defining 'user.language' in forrest.build.xml. So it does nothing when I > use it in my site's 'forrest.properties'. > is using the default language for the JVM. In the case of the windows machines, that will work much better. This change only affect the creation of a directory base on the language.. This way you can run "export LANG=en" "forrest site" "export LANG=es" "forrest site" so diferent languages goes to diferent directories. > > > So, let me rephrase my understanding of this issue so far. Before you > made changes to trunk this was the behaviour: > > 1. Forrest seed; forrest would generate the static site in English, > regardless of your LANG env. > sure. There is not implementation to seed a project with examples in spanish.. > 2. Setting project.i18n=true in forrest.properties and running forrest > again would generate your site in build/site/xx, where xx is determined > by the LANG env. BUT, the generated static site is still all in English; > no look up into the language-specific catalogues ever takes place. > I can not reproduce this. "Forrest site" works for me. > My goal for a static site is to be able to issue the command > > $ LANG=es_ES forrest > have you try to issue "export LANG=es" ??????? I think that I told you before. cheers, cheche