Date: Tue, 23 Nov 2004 05:05:28 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: doc@FreeBSD.org Subject: orig/trans automatic selection patch for news/{newsflash,press}.html Message-ID: <20041123.050528.25163843.hrs@eos.ocn.ne.jp>
next in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Nov_23_05_05_28_2004_961)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I made patches for www/<lang>/news to implement the following: 1) When a news item added to en/news/news.xml and it is not in <lang>/news/news.xml, newsflash.xsl in the localized directories will automatically pick up and insert the item into their www/<lang>/newsflash.html on the fly. 2) Once the item is translated and added into <lang>/news/news.xml, the localized newsflash.xsl uses the translated one. I think this sort of mechanism should help when the translation is delayed. The patches found at the following URL include the necessary changes for www/share+www/en, www/de, www/fr, www/ja, and www/ru (patches for each language depend on the www/share+www/en patch). http://people.allbsd.org/~hrs/www-news-translation-patches.tar.gz Translators, could you please try them? While there are several known problems such as www/<lang>/index.xsl support and so on, they should work and you can understand what I want to do. I would appreciate your comments. Especially, I would like to know if the l10n knobs are sufficient for your language. Thanks. -- | Hiroki SATO ----Security_Multipart(Tue_Nov_23_05_05_28_2004_961)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBokaITyzT2CeTzy0RAvljAJ48GV+w6M59TSBF2rFV18Xs3I/1XgCg06sY Jmmbs3/lrURz0zTp6Ygn9VA= =12WZ -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Nov_23_05_05_28_2004_961)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041123.050528.25163843.hrs>