From owner-freebsd-doc@FreeBSD.ORG Wed Nov 24 12:11:46 2004 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 1DF9016A4CE; Wed, 24 Nov 2004 12:11:46 +0000 (GMT) Received: from volginfo.ru (ns.volginfo.ru [217.23.84.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA4243D2D; Wed, 24 Nov 2004 12:11:45 +0000 (GMT) (envelope-from den@FreeBSD.org) Received: from [192.168.1.32] (llp-13.vistcom.ru [217.23.84.68]) by volginfo.ru (Postfix) with ESMTP id 12FD72012; Wed, 24 Nov 2004 15:11:47 +0300 (MSK) Message-ID: <41A47A7E.5000105@FreeBSD.org> Date: Wed, 24 Nov 2004 15:11:42 +0300 From: Denis Peplin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041008 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Hiroki Sato References: <20041123.045205.124094401.hrs@eos.ocn.ne.jp> In-Reply-To: <20041123.045205.124094401.hrs@eos.ocn.ne.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: doc@FreeBSD.org Subject: Re: orig/trans automatic selection patch for news/{newsflash,press}.html 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: Wed, 24 Nov 2004 12:11:46 -0000 Hello! Hiroki Sato wrote: > Hi all, > > I made patches for www//news to implement the following: > > 1) When a news item added to en/news/news.xml and it is not in > /news/news.xml, newsflash.xsl in the localized directories > will automatically pick up and insert the item into their > www//newsflash.html on the fly. > > 2) Once the item is translated and added into /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//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. Very appreciated solution! But in my local system it does not work... "/usr/doc/share/mk/doc.common.mk", line 168: warning: duplicate script for target "/usr/www/ru/news//usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml" ignored "/usr/www/share/mk/web.site.mk", line 216: warning: duplicate script for target "spellcheck" ignored (i see warnings only for Russian) But i don't think that warnings indicate problem, because for other languages patches does not work too.