Devesh Saini <[email protected]> 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