[translations] Starting Brazilian Portuguese translation for Docs

[ Thread Index | Date Index | More lilynet.net/translations Archives ]


Hello,

I'm considering to start translating the Lilypond's documentation to
my native language. I've read the documentation concerning this
subject [1] and I notice some errors when running 'make ISOLANG=pt_BR
new-lang' inside Documentation directory and then 'make ISOLANG=pt_BR
check-translation' failed after a few translations. The '... new-lang'
command line was executed after './autogen.sh', of course.

I notice the first error occurred when Documentation/GNUmakefile
called scripts/auxiliar/texi-langutils.py, which didn't find
'texidocs.tely' and 'texidocs.texi'. I don't know if the other erros
and warnings are a consequence of it.

Could I get some help please?

[1] http://lilypond.org/doc/v2.19/Documentation/contributor/translating-the-documentation

Best regards,
Rafael Fontenelle
$ make ISOLANG=pt_BR new-lang

mkdir -p pt_BR/included
if test -z "`ls pt_BR/included`"; then touch pt_BR/included/.gitignore; fi
cp fr/GNUmakefile pt_BR
sed -i -e 's/ISOLANG *= *fr/ISOLANG = pt_BR/' pt_BR/GNUmakefile
make --no-builtin-rules new-lang-dir DIR=web && make --no-builtin-rules new-lang-dir DIR=texidocs && :
make[1]: Entering directory '/home/rafael/repos/lilypond/Documentation'
mkdir -p pt_BR/web
rm -f ./out/*.*tely ./out/*.*texi
/usr/bin/python2 -tt ../scripts/auxiliar/texi-langutils.py -d ./out -l pt_BR -o doc.pot --skeleton --gettext $(cd pt_BR && ls -1 ../web.tely ../web.texi)
ls: cannot access '../web.tely': No such file or directory
langdefs.py: warning: lilypond-doc gettext domain not found.
git rev-parse HEAD
FIXME: this is evil.  use cd DIR && texi-langutils ...
I/O error(2): ../version.itexi: No such file or directory
I/O error(2): ../weblinks.itexi: No such file or directory
I/O error(2): ../web/included/generating-output.itexi: No such file or directory
I/O error(2): ../web/gpl.itexi: No such file or directory
I/O error(2): ../web/translations.itexi: No such file or directory
I/O error(2): ../web/fdl.itexi: No such file or directory
I/O error(2): ../web/included/acknowledge.itexi: No such file or directory
I/O error(2): ../web/included/authors.itexi: No such file or directory
I/O error(2): ../web/included/gsoc.itexi: No such file or directory
I/O error(2): ../web/included/helpus.itexi: No such file or directory
I/O error(2): ../web/we-wrote.itexi: No such file or directory
I/O error(2): ../web/others-did.itexi: No such file or directory
I/O error(2): ../web/web/news-new.itexi: No such file or directory
I/O error(2): ../web/web/news-old.itexi: No such file or directory
for i in $(cd ./out && ls -1 web.tely web.texi); do\
    test -e pt_BR/$i || mv ./out/$i pt_BR/$i;\
done
ls: cannot access 'web.tely': No such file or directory
rm -f ./out/web.tely ./out/web.texi
for i in $(cd ./out && ls -1 *.*tely *.*texi); do\
    test -e pt_BR/web/$i\
	|| test -e pt_BR/$i\
	|| mv ./out/$i pt_BR/web/$i;\
done
ls: cannot access '*.*tely': No such file or directory
make[1]: Leaving directory '/home/rafael/repos/lilypond/Documentation'
make[1]: Entering directory '/home/rafael/repos/lilypond/Documentation'
mkdir -p pt_BR/texidocs
rm -f ./out/*.*tely ./out/*.*texi
/usr/bin/python2 -tt ../scripts/auxiliar/texi-langutils.py -d ./out -l pt_BR -o doc.pot --skeleton --gettext $(cd pt_BR && ls -1 ../texidocs.tely ../texidocs.texi)
ls: cannot access '../texidocs.tely': No such file or directory
ls: cannot access '../texidocs.texi': No such file or directory
langdefs.py: warning: lilypond-doc gettext domain not found.
git rev-parse HEAD
FIXME: this is evil.  use cd DIR && texi-langutils ...
for i in $(cd ./out && ls -1 texidocs.tely texidocs.texi); do\
    test -e pt_BR/$i || mv ./out/$i pt_BR/$i;\
done
ls: cannot access 'texidocs.tely': No such file or directory
ls: cannot access 'texidocs.texi': No such file or directory
rm -f ./out/texidocs.tely ./out/texidocs.texi
for i in $(cd ./out && ls -1 *.*tely *.*texi); do\
    test -e pt_BR/texidocs/$i\
	|| test -e pt_BR/$i\
	|| mv ./out/$i pt_BR/texidocs/$i;\
done
ls: cannot access '*.*tely': No such file or directory
ls: cannot access '*.*texi': No such file or directory
make[1]: Leaving directory '/home/rafael/repos/lilypond/Documentation'
msgmerge -U po/lilypond-doc.pot ./out/doc.pot
.... done.
test -e po/pt_BR.po || cp po/lilypond-doc.pot po/pt_BR.po
***  Please add a language definition for pt_BR in python/langdefs.py  ***


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/