You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by no...@kern.ag on 2009/03/01 10:03:35 UTC

other language in lenya

I want insert another language in Lenya 2.0.2 (english)
If an user turns on a menu -button, whitch is only available in the other 
language (here: german) 
i want to pop up a message, that tells him "this page is only available in 
german" . 

This message should allso be a link to the german site.

Is ther anybody out there who can tell me how to realize this?


Thanks in advance

Norbert Reinhard

http://www.kern.ag/


Re: other language in lenya

Posted by Andreas Hartmann <an...@apache.org>.
Hi Norbert,

norbert.reinhard@kern.ag schrieb:
> 
> I want insert another language in Lenya 2.0.2 (english)
> If an user turns on a menu -button, whitch is only available in the 
> other language (here: german)
> i want to pop up a message, that tells him "this page is only available 
> in german" .
> 
> This message should allso be a link to the german site.
> 
> Is ther anybody out there who can tell me how to realize this?

how about this:

When you generate the navigation elements from the sitetree, you have 
the information if the page is available in a particular language. 
Instead of the normal link (which would lead to a 404 page), you could 
insert a JavaScript call which opens the pop-up window containing the 
message and the link to the existing translation.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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