forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: CLI & I18N
Date Wed, 08 Oct 2003 10:02:44 GMT
On Tue, Oct 07, 2003 at 03:34:31PM +0100, Upayavira wrote:
> I've just chatted with Cheche at the GetTogether about I18N and the CLI 
> - i.e. getting it to create the necessary translated versions of pages.
> 
> We are proposing the following code to be made to work in the xconf file 
> (and eventually in the Ant task):
> 
>   <uris name="i18n"
>         locales="en|fr|it|de"
>         follow-links="true"
>         type="insert"
>         src-prefix="docs/"
>         >
>     <uri src="index.html" dest="build/dest-apache/{dest}.{locale}"/>
>     <uri src="index.html" dest="build/dest-iis/{locale}/{dest}"/>
>     <uri src="index.html" dest="build/dest-apache/{dest}" locale="en"/>
>     <uri src="index.html" dest="build/dest-iis/{dest}" locale="en"/>
>   </uris>
>  
> Here, you have specified the locales that you want to process (in this 
> case, four of them), and the locale can be included in the destination 
> URI, to use Apache's I18N support, or to simply include the locale in 
> the URI.

I don't understand.  Why does there need to be special CLI handling for
i18n?  Isn't that the sitemap's job?  Would the webapp still work
identically from live webapp and from CLI-rendered files?

--Jeff

> Does this seem useful to people? Have we got it right?
> 
> Regards, Upayavira
> 
> 

Mime
View raw message