Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 52931 invoked from network); 2 Mar 2009 08:59:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 08:59:46 -0000 Received: (qmail 91104 invoked by uid 500); 2 Mar 2009 08:59:45 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 91073 invoked by uid 500); 2 Mar 2009 08:59:45 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 91064 invoked by uid 99); 2 Mar 2009 08:59:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 00:59:45 -0800 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcclu-lenya-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 08:59:35 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Le3zT-000665-VH for user@lenya.apache.org; Mon, 02 Mar 2009 08:59:11 +0000 Received: from 130.60.224.74 ([130.60.224.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2009 08:59:11 +0000 Received: from andreas by 130.60.224.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2009 08:59:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: user@lenya.apache.org From: Andreas Hartmann Subject: Re: other language in lenya Date: Mon, 02 Mar 2009 09:59:00 +0100 Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 130.60.224.74 User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on 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