Am Mittwoch, 8. Juli 2015 14:40:03 UTC+2 schrieb Cédric Krier: > > On 2015-07-08 05:21, Axel Braun wrote: > > Hi Cedric, > > > > Am Mittwoch, 8. Juli 2015 12:52:10 UTC+2 schrieb Cédric Krier: > > > > > > > the RPM build script removes the newly translated languages in > > > > Tryton-Client 3.6.1: > > > > > > > > [ 80s] + /usr/lib/rpm/find-lang.sh > > > > /home/abuild/rpmbuild/BUILDROOT/tryton-3.6.1-0.i386 tryton > --without-C > > > > [ 80s] removing translation > > > > /usr/share/locale/bg_BG/LC_MESSAGES/tryton.mo: 377 translated > messages. > > > > [ 81s] removing translation > > > > /usr/share/locale/lt_LT/LC_MESSAGES/tryton.mo: 386 translated > messages. > > > > [ 81s] removing translation > > > > /usr/share/locale/ca_ES/LC_MESSAGES/tryton.mo: 402 translated > messages. > > > > [ 81s] removing translation > > > > /usr/share/locale/nl_NL/LC_MESSAGES/tryton.mo: 338 translated > messages. > > > > [ 81s] removing translation > > > > /usr/share/locale/ja_JP/LC_MESSAGES/tryton.mo: <stdin>:81: 'msgid' > and > > > > 'msgstr' entries do not both end with '\n' > > > > [ 81s] <stdin>:383: 'msgid' and 'msgstr' entries do not both end > with > > > '\n' > > > > [ 81s] <stdin>:709: 'msgid' and 'msgstr' entries do not both end > with > > > '\n' > > > > [ 81s] <stdin>:877: 'msgid' and 'msgstr' entries do not both end > with > > > '\n' > > > > [ 81s] msgfmt: found 4 fatal errors > > > > [ 81s] 337 translated messages. > > > > > > > > Anyone seen such an error before? > > > > > > Which RPM build script? > > > > > > > the RPM-macro %find_lang, calling the above script > > /usr/lib/rpm/find-lang.sh > > Where can we find the source of this script? >
it is part of the RPM package - sources are here: http://rpm.org/wiki/Download I have RPM 4.11.1 installed (the file is only 7,5k, so i could attach it in a PM to you) > > > > What is the tool used to do "I don't know what it is"? > > > FYI, the tryton package comes with all catalogs compiled so you don't > > > have to compile them again. > > > > > > > How can I check the content of the .mo file? > > > > > > Here is the command to compile the catalogs: > > > > > > python setup.py compile_catalog > > > > > > > I get an error message when I run this. Anythin missing in the setup? > > You must have babel installed. > That helped, thanks, but did not solve the problem....