#23321: Remove .mo files from the Django Git repository
-------------------------------------+-------------------------------------
Reporter: claudep | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: | Resolution:
Internationalization | Triage Stage:
Severity: Normal | Someday/Maybe
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by jezdez):
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Someday/Maybe
Comment:
I don't think we should go that route as it would introduce a couple of
issues that make it harder for our users and from a maintenance
standpoint:
- The most pressing issues IMO will show up for users that are using not-
yet-released versions of Django, e.g. translators and contributors.
- there are differences in gettext versions that we would not be able to
fix
- Windows users don't usually have gettext installed
- The test system would have to compile the po files on every test run to
make sure to have a consistent set to base tests on
- Users on system with a non-writable file system may have problems with
the subprocess call as part of trans_real.py
- The Django release manager would have to have gettext installed and run
an additional command to build the tarball, something that I think is
better suited for the translation manager (who has to pull files from
Transifex anyways)
I understand that having compiled files in a VCS aren't good, but the
proposed plan doesn't convince me to drop the mo files.
If only we'd use Babel instead.. it does have the ability to compile po
files to mo files without dependency on gettext.
--
Ticket URL: <https://code.djangoproject.com/ticket/23321#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.f6bae1e2e9b95885be8e85be2100562e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.