[issue36875] argparse does not ship with translations

Carmen Bianca Bakker report at bugs.python.org
Fri May 10 08:49:47 EDT 2019


Carmen Bianca Bakker <carmenbianca at fedoraproject.org> added the comment:

I have created a prototype for the proposed fix here:

https://github.com/carmenbianca/argparse

I'm not a regular Python contributor, so I simply copied argparse.py out of Lib and started working on my own copy.

The changes are, all things considered, not very big. But it would add a `locale` directory in Lib, which I'm not sure is okay or not.

There would also need to be a mechanism in the build process that puts the compiled MO files in Lib/locale/*language*/LC_MESSAGES/argparse.mo.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36875>
_______________________________________


More information about the Python-bugs-list mailing list