From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Translation of the Guix manual & node names Date: Wed, 24 Apr 2019 09:24:48 +0200 Message-ID: <9D0C4E9F-D30E-426B-A079-C71F233F77F3@lepiller.eu> References: <87sgu8hmmr.fsf@gnu.org> <20190423155219.03d067f5@sybil.lepiller.eu> <87zhof3mod.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJCNz-0005o8-QD for guix-devel@gnu.org; Wed, 24 Apr 2019 03:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJCH9-0008Ec-5S for guix-devel@gnu.org; Wed, 24 Apr 2019 03:25:04 -0400 In-Reply-To: <87zhof3mod.fsf@riseup.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Meiyo Peng Cc: Guix-devel Le 24 avril 2019 09:08:34 GMT+02:00, Meiyo Peng a =C3= =A9crit : >Hi Julien, > >Julien Lepiller writes: > >> No, we have a small script that takes care of this=2E As long as the >node >> name is translated somewhere near the beginning of the file, it is >also >> automatically translated in the rest of the file=2E So that shouldn't >> cause an issue=2E Maybe there's an error in the script? >> >> Look at xref_command in doc/local=2Emk > >The xref_command is too complex for me to understand=2E Do you mean we >don't need to translate all the reference strings in @ref{}, @xref{} >and >@pxref{} as long as the target node name after "@node" is translated? >That will be a good news=2E Yes exactly! What this command does is to look for any ref, xref and pxref= command and look for the translation of its content in the po file for the= language=2E > >> Also look at fr=2Epo, I haven't translated most of the node names=2E > >By saying "most of the node names" have not been translated, do you >mean >some of the reference strings in @ref{}, @xref{} and @pxref{} should be >translated? No, sorry for the confusion=2E At the very beginning we didn't have that c= ommand so some of the strings have translated references in them, but you s= houldn't do that anymore=2E > > >-- >Meiyo Peng >https://www=2Epengmeiyu=2Ecom/ Hi,