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: [I18n] Alternatives locales for a given page.
Date Thu, 25 Mar 2004 13:13:49 GMT
Upayavira,
I am still a bit confuse.

So given: "Accept-Language: es-ES,en-US;q=0.5 "

<map:generate src="{i18n: index.{locales}.xml}"/>

Will try:

index.es-ES.xml
index.es.xml
index.en-US.xml
index.en.xml
index.xml

Maybe I am saying something stupid, but Would not be better to expand 
the FileGenerator, something like I18nFileGenerator?


Cheers,
Cheche

Upayavira escribió:
> Sjur Nørstebø Moshagen wrote:
> 
>>
>> På 24. mar. 2004 kl. 11.52 skrev Upayavira:
>>
>>> I've started working on making recursive input modules work, so we 
>>> could do <map:generate src="{i18n: index.{locales}.xml}"/>, which 
>>> would find the most appropriate file, given a list of locales.
>>
>>
>>
>> Beautiful! Can't wait;)
> 
> 
> Struggling to remember how to do it, but getting there.
> 
> Upayavira
> 



Mime
View raw message