cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: [RT] Document based I18n sites with Cocoon
Date Fri, 09 Jul 2004 11:16:57 GMT
Sjur Nørstebø Moshagen wrote:

> På 9. jul. 2004 kl. 14.04 skrev Vadim Gritsenko:
>
>>> I guess the full list would be: {lang}, {country}, {encoding}, 
>>> {variant}, {full-locale}, {matched-locale}. {locale} could be a 
>>> shorthand for {full-locale}.
>>
>>
>> This list should be compatible with LocaleAction: language (not 
>> lang), country, variant.
>
>
> Agree.
>
>>>> Site default locale is defined within the config of the matcher at 
>>>> the top of the sitemap. It could easily be overridden with a 
>>>> <map:parameter name="default-locale" value="xxxx"/> within the 
>>>> matcher itself.
>>>
>>>
>>> OK.
>>
>>
>> If no default is given, it should defaults to empty locale.
>
>
> Ok, but how do you decide which document version to serve then? Or 
> should Cocoon throw an error ("No resource found")?
>
Exactly, if no default is given, the matcher doesn't match.

Upayavira



Mime
View raw message