Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1DF5B2E004A for ; Thu, 27 Mar 2008 13:01:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 71638-10 for ; Thu, 27 Mar 2008 13:00:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by postgresql.org (Postfix) with ESMTP id 990832E0039 for ; Thu, 27 Mar 2008 13:00:58 -0300 (ADT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sd-2317.dedibox.fr (Postfix) with ESMTP id E456C3440; Thu, 27 Mar 2008 17:00:51 +0100 (CET) Message-ID: <47EBC4B2.2010304@lelarge.info> Date: Thu, 27 Mar 2008 17:00:50 +0100 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Adrian Maier CC: PostgreSQL www Subject: Re: PostgreSQL website translations References: <20080310094928.GH30980@svr2.hagander.net> <47D517C4.3000508@lelarge.info> <47E6D923.9050307@lelarge.info> <20080327130632.4baa89f8@mha-laptop> <47EBA9F4.3000207@lelarge.info> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/614 X-Sequence-Number: 14733 Adrian Maier a écrit : > On Thu, Mar 27, 2008 at 4:06 PM, Guillaume Lelarge > wrote: >> [...] >> Could work, but we still rely on the translator good will. No automatic >> process here. Or am I wrong ? > > Actually , there are two different purposes : > 1) detecting which translated pages went out-of-date > 2) providing some reliable tools that help the translators to easily spot > the (English) modifications that they need to incorporate into their > translated texts. You can already do this with HTML comments on the translation. To use custom SVN properties, all translators will need to have SVN write access to pgweb, which can be a problem. If we agree on the HTML comments, we need to add the Revision tag on each "template/en" file (see http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html for details). The PHP code will be able to compare the Revision tag automatically added by SVN in the english file with the Revision comment manually added by the translator on the translated file. For example, we will have: /* $Revision: 144 $ */ in the english file, and: /* #Revision: 144 # */ in the translated one. I don't use dollar between "Revision: 144" in the translated file so that SVN doesn't automatically replace the english based revision with the new translated revision. > I am primarily interested in (2) , because plain cvs/svn is not helpful > enough when translating . > > As for (1) : it will never be possible to automatically ensure that a > translation is truly up-to-date . We'll need to trust the translators when > they claim they've updated some page . Especially when you don't > understand their language ... > +1 -- Guillaume. http://www.postgresqlfr.org http://dalibo.com