forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: Forrest: dynamic or static?
Date Mon, 22 Sep 2003 13:01:13 GMT
Upayavira wrote:
> 
> If you're happy to have a directory tree for each language (as opposed 
> to index.en.html, and index.de.html), then you could do this really easy 
> with minimal modification to the CLI.
> 

But I thought that you could use the <accept/> tag.

> All you need is a way specify the locale for a URI listed in the 
> cli.xconf. I reckon that'd take me 15 minutes. Then you could say:
> 
> <uri src="index.html" locale="en/gb" dest="site/en/"/>
> <uri src="index.html" locale="de" dest="site/de/"/>
> etc.
> I'd extend the CommandLineRequest class to return your specified locale 
> instead of the default.
> 
> Then you've just got to create some Apache rewriting rules, and you're 
> away.
> 

I will check Apache documentation, to findout the best approach.

Cheers,
cheche


Mime
View raw message