bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Not output.


From: Daiki Ueno
Subject: Re: [bug-gettext] Not output.
Date: Mon, 19 Jan 2015 16:15:59 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Devesh Saini <address@hidden> writes:

> I am developing an open-source package num2word. I am trying to
> produce '.pot' file with 'xgettext'. I am using it as
>
> xgettext main.py
>
> But unfortunately, it is generating no output.

I looked at num2word and couldn't find any translatable string marked
with _(...), etc.  So it is not surprising that xgettext doesn't produce
any output.

See the Python's gettext module documentation:
https://docs.python.org/dev/library/gettext.html
or our Python example:
http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-tools/examples/hello-python

Regards,
--
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]