That's unfortunately the wanted behaviour. You cannot gettextize with the
po4a binary. You have to use po4a-gettextize manually.

I leave this open for now and will close it when we find an acceptable way
to document this or so.

Thanks for your time, and sorry for the "rm" of your files ;)

Bye, Mt.

On Sun, Jun 12, 2005 at 11:42:54AM +0200, Philippe Batailler wrote:
> Package: po4a
> Version: 0.21-1
> Severity: important
> 
> Hello,
> 
> I ran "po4a dpkg.conf" in this environment:
>  - all english files (dpkg.1) in ../man/C/
>  - all french files (dpkg.1) in ../man/fr/
>  - dpkg.conf (attached) in ../man/fr/po/
> 
> fr.po is created in ../man/fr/po/, with no translated msgstrg
> and all files in ../man/fr/ are removed :(
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.11-1-686
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
> 
> Versions of packages po4a depends on:
> ii  gettext                   0.14.4-2       GNU Internationalization 
> utilities
> ii  liblocale-gettext-perl    1.01-17        Using libc functions for 
> internati
> ii  libsgmls-perl             1.03ii-31      Perl modules for processing SGML 
> p
> ii  libterm-readkey-perl      2.21-1.3       A perl module for simple 
> terminal 
> ii  libtext-wrapi18n-perl     0.06-1         internationalized substitute of 
> Te
> ii  perl [perl5]              5.8.4-8        Larry Wall's Practical 
> Extraction 
> ii  perl-modules              5.8.4-8        Core Perl modules
> ii  sp                        1.3.4-1.2.1-43 James Clark's SGML parsing tools
> 
> -- no debconf information
> 
> Regards,
> 
> -- 
> Philippe Batailler
> 
> 
> 

> [po4a_langs] fr
> 
> # first explain where are the translator input files
> [po4a_paths] ../../C/po-doc/dpkg-doc.pot fr:./fr.po
> 
> # Then list the document to translate, their format, their translations
> # (as well as the addendums to apply to to transaltions)
> [type:man] ../../C/dpkg-deb.1 fr:../dpkg-deb.1
> #[type:man] ./dselect/dselect.8
> [type:man] ../../C/dpkg-query.1 fr:../dpkg-query.1
> [type:man] ../../C/dpkg.1 fr:../dpkg.1 
> [type:man] ../../C/deb-control.5 fr:../deb-control.5
> #[type:man] ../../C/deb-old.5
> [type:man] ../../C/deb.5 fr:../deb.5
> #[type:man] ./man/en/dpkg.cfg.5
> #[type:man] ./man/en/dselect.cfg.5
> #[type:man] ./scripts/822-date.1
> [type:man] ../../C/cleanup-info.8 fr:../cleanup-info.8
> #[type:pod] ./scripts/dpkg-architecture.pl
> [type:man] ../../C/dpkg-checkbuilddeps.1 fr:../dpkg-checkbuilddeps.1
> [type:man] ../../C/dpkg-name.1 fr:../dpkg-name.1
> [type:man] ../../C/dpkg-statoverride.8 fr:../dpkg-statoverride.8
> [type:man] ../../C/install-info.8 fr:../install-info.8
> [type:man] ../../C/update-alternatives.8 fr:../update-alternatives.8 
> [type:man] ../../C/dpkg-divert.8 fr:../dpkg-divert.8
> [type:man] ../../C/dpkg-source.1 fr:../dpkg-source.1
> [type:man] ../../C/dpkg-scanpackages.1 fr:../dpkg-scanpackages.1
> [type:man] ../../C/dpkg-split.1 fr:../dpkg-split.1
> [type:man] ../../C/start-stop-daemon.8 fr:../start-stop-daemon.8
> #[type:man] ./utils/md5sum.1

Attachment: signature.asc
Description: Digital signature

Reply via email to