help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs pomode: spellcheck only inside msgstr with both languages


From: pelzflorian (Florian Pelz)
Subject: Re: Emacs pomode: spellcheck only inside msgstr with both languages
Date: Sun, 21 Apr 2019 17:19:37 +0200
User-agent: NeoMutt/20180716

On Sun, Apr 21, 2019 at 05:13:56PM +0200, pelzflorian (Florian Pelz) wrote:
> On Sun, Apr 21, 2019 at 01:39:51PM +0000, address@hidden 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
> 

Perhaps if this works it is also of interest to Meiyo Peng (Cc) who
asked a similar question before.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]