Date: Tue, 30 Dec 2003 05:27:23 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: Problems with mirrors.xml and advisories.xml Message-ID: <20031230.052723.71544261.hrs@eos.ocn.ne.jp> In-Reply-To: <20031225.064240.74701770.hrs@eos.ocn.ne.jp> References: <20031219170659.G6706@www.freebsd.cz> <20031220.024529.10288025.hrs@eos.ocn.ne.jp> <20031225.064240.74701770.hrs@eos.ocn.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Dec_30_05:27:23_2003_211)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I put a new patchset[*] to fix both of the month name and the sort order problem. Alex and Martin, thanks for the report of de_DE.ISO8859-1 and it_IT.ISO8859-15. However, I am still afraid about if the order in Russian docs are properly or not. If anyone tried, please let me know. In a new patchset, <group> container is added to transtable.xml to support number-to-monthname translation. We can now use the following template <xsl:call-template name="transtable-lookup"> <xsl:with-param name="word-group" select="'country'" /> <xsl:with-param name="word" select="'USA'" /> </xsl:call-template> in www/*.xsl files. This template was used internal only, but moved into doc/share/sgml/transtable-common.xsl and can be used thorough www/share/sgml/includes.xsl to translate a word on the fly. For example, a word group "number-month" is used for converting "1" to "January" (of course this is not limited to English). Adding more groups, we can do word-by-word translation more easily. The tarball contains core and language dependent diffs. Try and if you noticed a problem such as build breakage, please let me know. Since structure of transtable.xml is changed, we have to switch it at once. So I put sample patches to the tarball to let the translation teams know what kind of changes are needed, while I (hrs@FreeBSD.org) am not planning to commit directly the patches except for Japanese. Any comments are welcome. If there is no obvious objection, I think I will tidy up and commit it. [*] http://people.freebsd.org/~hrs/docwww_monthname_sort.tar.gz -- | Hiroki SATO ----Security_Multipart(Tue_Dec_30_05:27:23_2003_211)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/8I4sTyzT2CeTzy0RApHNAJ9qpwN7KiVByvFIjMAdHXV6s+pAmgCfaH1V cc9bsNJZ8Xr6q4l7YPwOggo= =5AKH -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Dec_30_05:27:23_2003_211)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031230.052723.71544261.hrs>