You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/04/13 09:56:11 UTC

Re: Helpful Notes about Installation (and Suggestions for Developers)

Josias Thoeny wrote:
> On Tue, 2005-04-12 at 15:25 +0200, Andreas Hartmann wrote:
> 
>>Josias Thoeny wrote:
>>
>>[...]
>>
>>
>>>I just tried the default publication of Lenya 1.2.x.
>>>The menu on the left side in the authoring view always is displayed in
>>>english (e.g. the Features item), no matter if I visit a german or an
>>>english page. In other words, the content of a page is translated
>>>correctly according to the url (e.g _de), but the navigation (menu and
>>>tabs) are not. (The locale has not influence on that)
>>>This seems to be a bug, or is there something wrong with my setup?
>>
>>I can confirm this, it seems to be a bug. Is this a new issue?
>>It's strange that nobody ever noticed it ...
>>
>>BTW, it works correctly in the trunk.
>>
> 
> 
> I tracked down the problem to a missing namespace url in
> SiteTreeGenerator.java, line 158.
> 
> Insert "http://www.w3.org/XML/1998/namespace" as namespace uri of the
> xml:lang attribute and it should work again.

Thanks, that fixes it. BTW, the namespace URI is available as

   org.xml.sax.helpers.NamespaceSupport.XMLNS

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org