Date: Tue, 16 Dec 2003 01:15:38 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: horcicka@freebsd.cz Cc: freebsd-doc@FreeBSD.org Subject: Re: Problems with mirrors.xml and advisories.xml Message-ID: <20031216.011538.104073140.hrs@eos.ocn.ne.jp> In-Reply-To: <20031215154521.O38847@www.freebsd.cz> References: <20031215154521.O38847@www.freebsd.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Dec_16_01:15:38_2003_261)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Martin Horcicka <horcicka@freebsd.cz> 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)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216.011538.104073140.hrs>