reopen 598066 thanks Le 30/09/2010 11:21, Colin Watson a écrit : [...] > The runtime translation is easier, and I'll update that in the next > upload.
Hi Colin, Sorry to bother you again with this issue, but since the po/fr.gmo file is not rebuild during the package build process, modifying the po/fr.po file is useless. I successfully built the package using the following ugly patch: $ LANG=C diff -ur debian/ ../../man-db-2.5.7/debian/ Only in ../../man-db-2.5.7/debian//patches: fr.gmo diff -ur debian//rules ../../man-db-2.5.7/debian//rules --- debian//rules 2010-10-05 09:25:29.000000000 -0400 +++ ../../man-db-2.5.7/debian//rules 2010-10-12 15:15:01.000000000 -0400 @@ -36,6 +36,7 @@ [ ! -e "$$preserve.safe" ] || continue; \ cp -a "$$preserve" "$$preserve.safe"; \ done + cp debian/patches/fr.gmo po/ dh_auto_build sed -f man/fr/replace.sed -e 's,%program%,manconv,g' \ man/fr/man1/manconv.man1 > man/fr/man1/manconv.1 Only in ../../man-db-2.5.7/debian//source: include-binaries where $ cat ../../man-db-2.5.7/debian/source/include-binaries debian/patches/fr.gmo and debian/patches/fr.gmo is the result of “make fr.gmo” in the po/ directory. A problem is that the build directory is not kept pristine after a debian/make clean since the po/fr.gmo is modified (this issue could be solved with some more ugly hack in debian/rules :/). Maybe overwriting the usr/share/locale/fr/LC_MESSAGES/man-db-gnulib.mo and usr/share/locale/fr/LC_MESSAGES/man-db.mo files after the build would be less ugly to actually solve this l10n issue for Squeeze. Binary files joined. Cheers David
man-db_runtime_fr.tar.gz
Description: GNU Zip compressed data
signature.asc
Description: OpenPGP digital signature