From owner-freebsd-doc@FreeBSD.ORG Mon Dec 15 08:17:15 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED21816A4CE for ; Mon, 15 Dec 2003 08:17:15 -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 528A543D37 for ; Mon, 15 Dec 2003 08:17:14 -0800 (PST) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p35022-adsao12honb4-acca.tokyo.ocn.ne.jp [219.161.178.22]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id 356B8EAD; Tue, 16 Dec 2003 01:17:13 +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 hBFGGnAB090089; Tue, 16 Dec 2003 01:16:49 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 16 Dec 2003 01:15:38 +0900 (JST) Message-Id: <20031216.011538.104073140.hrs@eos.ocn.ne.jp> To: horcicka@freebsd.cz From: Hiroki Sato In-Reply-To: <20031215154521.O38847@www.freebsd.cz> References: <20031215154521.O38847@www.freebsd.cz> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Dec_16_01:15:38_2003_261)--" Content-Transfer-Encoding: 7bit cc: freebsd-doc@FreeBSD.org Subject: Re: Problems with mirrors.xml and advisories.xml X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 16:17:16 -0000 ----Security_Multipart(Tue_Dec_16_01:15:38_2003_261)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Martin Horcicka wrote in <20031215154521.O38847@www.freebsd.cz>: horcicka> 1. I can't find any way how to sort the list of web mirrors in the pop-up menu horcicka> on the home page using any other ordering than English. I guess the problem is horcicka> in the template html-index-mirrors-options-list defined in horcicka> www/share/sgml/includes.misc.xsl but I have no idea how to solve it. The menu entries will be sorted in alphabetical order of *translated* country name. Didn't it work properly? If you use transtable but the sort order is wrong, please show me the results (and the changes you added). At least I know it works fine for www/ja. Or, is non-alphabetical order needed? horcicka> 2. Database advisories.xml was moved from www/en/security to www/share/sgml horcicka> but it contains language dependent data (month names) in English and there is horcicka> no system for their translation to other languages. (In fact, it was only horcicka> copied to www/share/sgml because it still exists in www/en/security but has horcicka> obsolete content.) The result is e.g. English date above recent advisories on horcicka> the Japanese home page. Yes, it is a common problem in news.xml, press.xml, and advisories.xml. While I am considering several kinds of approach to it, is it better to use the figure instead of the name in all of the languages? In Japan people do not usually use month names, so I am wondering it is reasonable. We can put the figures themselves in .xml files, or use transtable to translate the English month names, or put the figures in .xml files and use transtable to translate them into the localized month names. -- | Hiroki SATO ----Security_Multipart(Tue_Dec_16_01:15:38_2003_261)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/3d4wTyzT2CeTzy0RAn//AKCDCTpG7DUBC5J8pxhQy5167poyBACgoInh sUuK496cKgNeiUhszf1kdoA= =udji -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Dec_16_01:15:38_2003_261)----