On 7/30/2018 9:43 AM, Petr Viktorin wrote:
On Mon, Jul 23, 2018 at 2:16 PM, Miro Hrončok wrote:
$ python3 -m gettext.msgfmt
+1
Note that this means gettext will need to become a package.
Once there is a command line interface, arguments can be supplied to the
module, as in python -m
Shortcuts designed for CLI are just to "be more mnemonic" have to be considered
with caution.
If gettext is a package, it means the whole python community shoud agree on
that.
msgfmt is part of gettext, so yes, python -m gettest.msgfmt is the best long
lasting command. Or it could be 'python -m
Shortcuts designed for CLI are just to "be more mnemonic" have to be considered
with caution.
If gettext is a package, it means the whole python community shoud agree on
that.
msgfmt is part of gettext, so yes, python -m gettest.msgfmt is the best long
lasting command. Or it could be 'python -m
On Mon, Jul 30, 2018 at 8:43 AM, Petr Viktorin wrote:
> On Mon, Jul 23, 2018 at 2:16 PM, Miro Hrončok wrote:
>
> > It might be:
> >
> > $ python3 -m gettext
>
> +1
>
> > And:
> >
> > $ python3 -m gettext.msgfmt
>
> +1
> Note that this means gettext will need to become a package.
>
> > And
On Mon, Jul 23, 2018 at 2:16 PM, Miro Hrončok wrote:
> Currently, the documentation (as well as plenty of other places on the
> Internet, such as Stack Overflow answers) mentions msgfmt.py and
> pygettext.py.
>
> See https://docs.python.org/3/library/gettext.html
>
>> (Python also includes
Currently, the documentation (as well as plenty of other places on the
Internet, such as Stack Overflow answers) mentions msgfmt.py and
pygettext.py.
See https://docs.python.org/3/library/gettext.html
> (Python also includes pure-Python versions of these programs, called
> pygettext.py and