forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kuba <>
Subject Re: i18n in Forrest 0.6
Date Mon, 17 Jan 2005 10:37:13 GMT
Juan Jose Pablos wrote:
> Martin Kuba wrote:
>> Thanks, that helped. However it doesn't seem usable. My browser
>> is set to accept Czech and English
>> Accept-language: cs,en-us;q=0.7,en;q=0.3
>> and the first thing I saw was an error page stating that file 
>> index_cs.xml
>> cannot be found. It is not acceptable to display an error message
>> when a match for an acceptable language is not found.  Even when I create
>> index_en.xml, it still displays the error page, which is wrong,
>> English is listed as my second language.
> I know that fall-back content negotioation is not working. There is a 
> bug on cocoon i18in transformer that needs to be fixed before I can 
> continue the work on that.
>> Also I don't see any link to switch among language versions.
> There is already some code that will provide you with the posible 
> languages available as well.  But unless the i18ntransformer gets fix, 
> there is not more I can do.,
>> Also forcing a particular language by following a link is needed.
> Yes, I am aware of that.
> have a look on the test case for the bug on cocoon,if you spot something 
> maybe that will get in for the next release.

Thanks for the answer. I tried also a static export of the pages, and it looks
like that Forrests uses the default locale of the JVM to choose only one

It would be great to be able to export the site in all languages staticaly,
so that serving it by Apache would be very fast. Generating pages on the fly
is wasting of resources when it is just for language selection.
Would it be possible to do this with Forrest ?

What I mean is that Forrest would export all index.html.en and and
index.html.cs files, and Apache with mod_negotiation and MultiViews enabled
would do the language selection very efectively.

Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email:
Masaryk University   
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775

View raw message