orig/trans automatic selection patch for news/{newsflash,press}.html
Hiroki Sato
hrs at FreeBSD.org
Mon Nov 22 19:37:49 UTC 2004
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
automatically will pick up and insert the item into their
www/<lang>/newsflash.html on the fly.
2) When the item is translated and added into <lang>/news/news.xml,
the localized newsflash.xsl uses the translated one automatically.
I think this sort of mechanism should help when the translation is
delayed. The attached patches 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).
Translators, could you please try them? I know 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: www-news-translation-patches.tar.gz
Type: application/octet-stream
Size: 5747 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20041123/05442f2a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20041123/05442f2a/attachment.sig>
More information about the freebsd-doc
mailing list