From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: Emacs pomode: spellcheck only inside msgstr with both languages Date: Sun, 21 Apr 2019 17:13:56 +0200 Message-ID: <20190421151356.4xgdexnfyms2effl@pelzflorian.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIEAK-0005VT-Os for help-guix@gnu.org; Sun, 21 Apr 2019 11:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIEAJ-0004KY-GP for help-guix@gnu.org; Sun, 21 Apr 2019 11:14:00 -0400 Received: from pelzflorian.de ([5.45.111.108]:57674 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIEAJ-0004JE-1f for help-guix@gnu.org; Sun, 21 Apr 2019 11:13:59 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@disroot.org Cc: help-guix On Sun, Apr 21, 2019 at 01:39:51PM +0000, znavko@disroot.org wrote: > 4) It may be much easier to read the Guix manual translation compiled into texi and then into html. How can I perform this? > > Here it is my current work: https://gitgud.io/znavko/guix-manual-ru > I will push it into translation project when check carefully. > So this is what I did, but I did not try it till the very end for the ru translation since there were errors. guix environment guix --ad-hoc git mkdir -p ~/Projects && cd ~/Projects # or whatever directory you want # to put the Guix source code in git clone https://git.savannah.gnu.org/git/guix.git cp guix-manual-ru/guix-manual-1.0.0-pre1.ru_RU.po guix/po/doc/guix-manual.ru.po cd guix sed -i 's|^\(info_TEXINFOS =\)|\1 %D%/guix.ru.texi |' doc/local.mk sed -i 's|^\(DOC_PO_FILES=\)|\1 %D%/guix-manual.ru.po |' po/doc/local.mk po4a-translate -f texinfo -m doc/guix.texi -p po/doc/guix-manual.ru.po \ -M UTF-8 -k 0 -l doc/guix.ru.texi # ignore outdated warning po4a-translate -f texinfo -m doc/contributing.texi -p po/doc/guix-manual.ru.po \ -M UTF-8 -k 0 -l doc/contributing.ru.texi # ignore warning ./bootstrap ./configure make # feel free to press Ctrl+C after it did the MAKEINFO ./bootstrap # only now bootstrap will detect that it needs guix.ru.info ./configure rm doc/guix.ru.texi && rm doc/contributing.ru.texi make doc/guix.ru.info info doc/guix.ru.info