On Tue, 25 May 2004, Martin Quinson wrote:
On Sat, May 22, 2004 at 03:34:28PM +0200, Jordi Vilalta wrote:
[...]
> I haven't been able to find the main po4a man page, although most of the
> other man pages refer to it. Does it exist? Isn't it installed along with
> the other ones?
man 7 po4a
pod2man doc/po4a.7.pod
Yes, I can build it manually, but it isn't built nor installed
automaticaly with make (I think it should).
> Another possible feature request: would it be so difficult to
get the
> master document (when gettextizing, or translating...) from stdin? This
> way, for example as the Dia diagrams are normaly compressed, one could do
> something like:
> gunzip < document.dia | po4a-translate...
Well, I seem to remember that Denis said it will be difficult to do with
encodings. I don't really remember.
I could also add a -z option to gunzip files before opening.
I think we don't need it. The gunzipping is only needed by a particular
type of documents. Others will need other treatments. It would be nice to
send po4a a document by stdin, enabling any treatment with pipes, but if
it's difficult, I think it's important to mantain it simple.
> And now some personal questions: Is there any way to test the modules
> while developing them without doing a make install? I didn't achieve it.
I added this to README:
USE WITHOUT INSTALLATION
If you want to use a version without installing it (such as the CVS one),
use the PERLLIB environment variable is such construction:
PERLLIB=~/CVSIMPORT/po4a/lib ~/CVSIMPORT/po4a/po4a-gettextize [usual args]
Thanks! It's very useful.
> And the last one (for now): How could I see the po4a program translations
> in action? (I refer to the french one in the CVS and the spanish I'm
> doing). I've tried something like
> LANG=fr po4a-gettextize
> and things like that, but all appears in english, like before. What am I
> missing?
It depends on the way you installed it. I get it in french...
I've been looking it, and I saw that translations are not automaticaly
installed. I tried with:
make -C po install
and after upgrading gettext to 0.13, it seems now the po/bin/*.po catalogs
are installed. In spite of this, I can't get any translated message at
runtime.
The translations in po/pod/*.po aren't currently used to generate any
final file (as translated man's), are they?
While messing with the translations, I've updated po/bin/es.po (diff
attached).
Regards,
Jordi Vilalta