lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: problem with language versions
Date Fri, 19 Nov 2004 07:56:59 GMT
Gregor J. Rothfuss wrote:
> Hubertus Groepper wrote:
> 
>> Hi Stefan!
>> Am 18.11.2004 um 23:46 schrieb Stefan Burkard:
>>
>>>
>>> - has lenya (1.2) a problem with locale variations like "de_DE", 
>>> "de_CH" and so  on? because what's also strange, is that my "de" 
>>> version of the homepage has now the "merged" navigation title from 
>>> the "de_CH" and the "de" versions. i can edit it in lenya and in the 
>>> edit-formfield is just the "de" title. i save it and it displays 
>>> again both titles.
>>
>>
>> Yes, there is a problem. See 
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=28974
>> Not really a help, I know, sorry.
> 
> 
> the uriparametrizer (iirc) makes some assumptions about a _ followed by 
> a two character country code. this code should be changed to basically 
> consider everything between the first _ and the final . as country code. 
> should be relatively easy to fix in the java class(es), there might be 
> some xsp or somesuch that make the same assumption too.

Actually it should only be necessary to change it in the
DefaultDocumentBuilder, or to extend this class with your
own DocumentBuilder. If this assumption is made anywhere
else, this is a *bug*.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail:             user-unsubscribe@lenya.apache.org
For additional commands, e-mail:           user-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Mime
View raw message