From owner-cvs-doc@FreeBSD.ORG Mon Feb 2 06:46:39 2004 Return-Path: Delivered-To: cvs-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D38E16A4CE; Mon, 2 Feb 2004 06:46:39 -0800 (PST) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE0C43D1D; Mon, 2 Feb 2004 06:46:34 -0800 (PST) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p47145-adsao12honb4-acca.tokyo.ocn.ne.jp [220.96.129.145]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id 32DDA2EC9; Mon, 2 Feb 2004 23:46:33 +0900 (JST) Received: from localhost (alph.allbsd.org [192.168.0.10]) by delta.allbsd.org (8.12.9p2/8.12.9) with ESMTP id i12EkDA2057058; Mon, 2 Feb 2004 23:46:14 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 02 Feb 2004 23:46:10 +0900 (JST) Message-Id: <20040202.234610.59661525.hrs@eos.ocn.ne.jp> To: ale@FreeBSD.org From: Hiroki Sato In-Reply-To: <401E554A.30707@FreeBSD.org> References: <200402010002.i1102wCF076490@repoman.freebsd.org> <20040202.223039.35473899.hrs@eos.ocn.ne.jp> <401E554A.30707@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 4.0.62 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Feb__2_23_46_10_2004_545)--" Content-Transfer-Encoding: 7bit cc: josef@FreeBSD.org cc: hrs@FreeBSD.org cc: cvs-doc@FreeBSD.org cc: cvs-all@FreeBSD.org cc: doc-committers@FreeBSD.org Subject: Re: cvs commit: www/en Makefile index.xsl navigation.xml www/share/mk web.site.mk www/share/sgml includes.misc.xsl X-BeenThere: cvs-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the doc and www trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 14:46:39 -0000 ----Security_Multipart(Mon_Feb__2_23_46_10_2004_545)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alex Dupre wrote in <401E554A.30707@FreeBSD.org>: ale> The problem is that localized web sites often have a mixture of $base ale> and $enbase path, so they should maintain their own navigation.xml in ale> any case...setting a default of $base is not a solution, since a new ale> link may point to a non-existant localized page (and having broken links ale> in home page is not good). Hmmm, is it enough that an item (label and URL) can be overridden accordingly? I think localization can be archived using language-independent navigation.xml and optional, localized one (not that the localized one should be removed completely). The localized one is used to override items in the language-independent one, so two of the $base are different from each other (resolved independently) and no broken link can appear; it should likely a link to an English contents. If using the localized one only, modification to includes.misc.xsl easily breaks the build. This is what I learned from the advisories.xml case. ale> > By the way, I am working on making new, not-translated items in ale> > news.xml appear in the localized www page in English. I think ale> > this sort of changes help the translation teams and the readers ale> > because the translation tends to get behind. Comments? ale> ale> We (italian) directly link the engligh news for this reason (no ale> translation of news), so the important thing is that this will continue ale> to work. No problem. This simply looks up both of en/news/news.xml and /news/news.xml, and an item in the English version is overridden if the translation is available. If no translation is available, the English item is used as it is. It should not break the current structure, and this way can be applied to navigation.xml. -- | Hiroki SATO ----Security_Multipart(Mon_Feb__2_23_46_10_2004_545)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAHmKyTyzT2CeTzy0RAsyoAJ9UHPvMGAonle1rJB303JAvqqpRIACeINaO 8jJ1ABHlWNiAqnbIl7HDSBo= =FNDz -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Feb__2_23_46_10_2004_545)----