Re: [translations] problems with check-translation |
[ Thread Index | Date Index | More lilynet.net/translations Archives ]
Le 26/09/2010 14:39, Federico Bruni disait :
Il giorno dom, 26/09/2010 alle 13.00 +0200, Jean-Charles Malahieude ha scritto:please spell Italian as "it" and NOT "IT" : The command line should be (within Documentation directory): make ISOLANG=it check-translationooops, stupid me now it works, but... fede@debian:~/lilypond-git/Documentation$ make ISOLANG=it check-translationISOLANG=it /usr/bin/python ../scripts/auxiliar/check_translation.py it/learning.tely it/learning/common-notation.itely it/learning/fundamental.itely it/learning/preface.itely it/learning/tutorial.itely it/macros.itexi it/search-box.ihtml it/translations.itexi it/web.texi it/web/community.itexi it/web/download.itexi it/web/introduction.itexi it/web/manuals.itexi Traceback (most recent call last): File "../scripts/auxiliar/check_translation.py", line 24, in<module> import langdefs ImportError: No module named langdefs make: *** [check-translation] Error 1 I think this ImportError must be fixed, because I have problems with other commands. For example: fede@debian:~/lilypond-git/Documentation$ make CHECKED_FILES=it/learning.tely check-translation ISOLANG= /usr/bin/python ../scripts/auxiliar/check_translation.py Traceback (most recent call last): File "../scripts/auxiliar/check_translation.py", line 24, in<module> import langdefs ImportError: No module named langdefs make: *** [check-translation] Error 1
I don't know what happens to you, since it works perfectly on my box. In fact, I run the script from within emacs : 1- open any file in Documentation 2- M-x compile make ISOLANG=it NO_COLOR=1 check-translation 3- save the buffer and use it for "corrections" Enclosed is what it gives on the lilypond/translation branch. Just one detail: you might have to first run autogen and then make. Or it might be due to something wrong with your python packages? Hoping to be of some help, Jean-Charles
Attachment:
IT-check-translation.log.tar.bz2
Description: application/bzip
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |