[Po4a-devel] po4a does not find pot-files

Felix Dietze felix at einrad.eu
Tue Nov 20 13:51:51 UTC 2012


Ok, I found it.

It was a mistake in the german translation:

#: ../../po4a:921
#, perl-format
msgid "no PO files found in %s"
msgstr "Keine POT-Dateien in %s gefunden"

Felix


On Mon, Nov 19, 2012 at 4:35 PM, Felix Dietze <felix at einrad.eu> wrote:

> Hi everyone,
>
> I have a problem with the usage of po4a.
>
> Setup:
> My master-document "iuf-rulebook.tex" is in the folder "src".
> I already generated a template "iuf-rulebook.pot" in "po".
> Translated po-files should go into the po-folder, while translated
> tex-files should be generated in the the folder "translated".
>
>
> $ ls
> Makefile  out  po  po4a.cfg  README.md  src  translated
> $ ls src
> 1_general_rules_and_definitions  1_general_rules_and_definitions.tex
>  iuf-rulebook.tex
> $ ls po
> iuf-rulebook.pot
> $ ls translated
>
> $ cat po4a.cfg
> [po_directory] po/
> [type: latex] src/iuf-rulebook.tex $lang:translated/iuf-rulebook-$lang.tex
> opt:"-k 0"
>
> $ TEXINPUTS=src: po4a po4a.cfg
> po4a.cfg:1: no pot-files found in po/
>
> po4a Version 0.40.2
>
> 1. When I run po4a, it tells me, that there are no pot-files in the
> po-directory. What am I doing wrong here?
>
> 2. Can po4a also generate the pot-files, or do I have to do this
> exclusively with po4a-gettextize?
>
> Thanks a lot!
> Felix
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20121120/7356fb6f/attachment.html>


More information about the Po4a-devel mailing list