Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 49764 invoked from network); 25 Mar 2004 12:30:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 12:30:24 -0000 Received: (qmail 40906 invoked by uid 500); 25 Mar 2004 12:30:19 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 40859 invoked by uid 500); 25 Mar 2004 12:30:18 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 40777 invoked from network); 25 Mar 2004 12:30:17 -0000 Received: from unknown (HELO correo.che-che.com) (80.34.215.206) by daedalus.apache.org with SMTP; 25 Mar 2004 12:30:17 -0000 Received: from localhost (localhost [127.0.0.1]) by correo.che-che.com (Postfix) with ESMTP id ACB1BC7FE for ; Thu, 25 Mar 2004 13:30:16 +0100 (CET) Received: from correo.che-che.com ([127.0.0.1]) by localhost (santiamen [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23260-08 for ; Thu, 25 Mar 2004 13:29:59 +0100 (CET) Received: from che-che.com (yarel [192.168.1.8]) by correo.che-che.com (Postfix) with ESMTP id 2F8A9C7FC for ; Thu, 25 Mar 2004 13:29:59 +0100 (CET) Message-ID: <4062D0C6.4010400@che-che.com> Date: Thu, 25 Mar 2004 13:29:58 +0100 From: Juan Jose Pablos User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: es, en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: Re: [I18n] Alternatives locales for a given page. References: <405B648E.60606@che-che.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at che-che.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sjur N�rsteb� Moshagen escribi�: > > The result is, that you would always see your language "in your own > language", which usually makes more sense than seeing it in the language > of the page (of which you might not understand anything). Sound more natural +1 >In addition, > when hovering over a language link you would get the name of the > language in the language of the page (which might be informative for > other readers, even though they cannot read the language in question). Done. > > If we go for this second approach, the localisation process of the > language list should be slightly enhanced: > > - translate locale codes to language names (this is done now, but the > replacing text should instead be the same for all locales - the name of > the language in the language itself) > - add a @title with the language name based on locale code (the new step > - this part should be localised for each new locale to be supported, to > contain the language name in the language of the locale) > > WDYT? I have just upload on the repository, so you can test it if you wish. You need to update the langcode.xml catalog under src/documentation/translations is order to display the lang name for more than Spanish, English and Italian. I changed the serializer so you can see the result on html. The @href does not hold the language anymore, I am not sure how using @hreflang or @lang / @rel="alternative" can forrest display the proper language. Cheers, Cheche