Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 20609 invoked from network); 1 Sep 2003 12:47:20 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Sep 2003 12:47:20 -0000 Received: (qmail 65280 invoked by uid 500); 1 Sep 2003 12:47:14 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 65216 invoked by uid 500); 1 Sep 2003 12:47:13 -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 65172 invoked from network); 1 Sep 2003 12:47:12 -0000 Received: from unknown (HELO cocoondev.org) (65.77.211.32) by daedalus.apache.org with SMTP; 1 Sep 2003 12:47:12 -0000 Received: (qmail 18702 invoked from network); 1 Sep 2003 12:40:20 -0000 Received: from unknown (HELO cocoondev.org) (jira?admin@127.0.0.1) by cocoondev.org with SMTP; 1 Sep 2003 12:40:20 -0000 Message-ID: <10307467.1062420020871.JavaMail.jira_admin@cocoondev.org> From: issues@cocoondev.org To: forrest-dev@xml.apache.org Subject: [issues] New comment: (FOR-18) support mulitple languages Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 The following comment has been added to this issue: Author: Raymond Penners Created: Mon, 1 Sep 2003 2:40 PM Body: I am a Forrest novice, but would really like to use it for our web site (www.workrave.org). For this purpose, Forrest would need to generate a static, multi-lingugal web site, that will be served by Apache using content negotiation. Is this currently possible? I found some references to the i18n:translator, but I could not find a proper example of how to set this up. --------------------------------------------------------------------- View the issue: http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-18 Here is an overview of the issue: --------------------------------------------------------------------- Key: FOR-18 Summary: support mulitple languages Type: New Feature Status: Unassigned Priority: Critical Project: Forrest Component: None Assignee: Reporter: Ralf Hauser Created: Sat, 11 Jan 2003 2:27 AM Updated: Mon, 20 Jan 2003 8:12 AM Description: In my current environment to develop static mulitlingual web-sites, I use an ant build.xml and the m4 macro preprocessor to achieve the following (sample): 1) index.en.m4 gets converted to index.en.html The *.en.m4 contains all language dependent text (similarly *.de.m4 for German) and includes index.m4 that contains the page's content layout. [(^\.)+].m4 includes sitedef.m4 where I define all global parts of the website (e.g. navigation structure, unique content e.g. phone numbers, filenames, etc.). This in turn includes a sitedefs.en or sitedef.de, ... respectively for global, language dependent definitions. 2) Dependencies a) upon change of [(^\.)+].m4, all depending *.*LANG*.html get rebuilt b) upon change of sitedef.m4, build.xml, and alike all *.html gets rebuilt c) upon change of sitedefs.en all *.en.html get rebuilt. Obviously, I could use the exact same approach to create .xml whereever I created .html before, but my long-term goal is to get rid of m4. Has anybody already put some thought into how this would be done with forrest? --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.cocoondev.org/jira//Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira