Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Benefits of keeping gettext's .mo files in repo

For example, why authors of "django-cms" keep gettext's mo files in repo (and this is not just inattention, see this commit), if users always can run manage.py compilemessages? Only to save users from this step and make installation process a little bit easier?

There are lot of other examples: django-filer and even django itself!

Thanks!

like image 495
neoascetic Avatar asked Sep 10 '12 04:09

neoascetic


1 Answers

Usually you don't keep generated files in repository, and that't right.

But sometimes your app installed as-is, e.g. from pypi. In this case, user will not run compilemessages and it makes sense to keep precompiled .mo files in distro

like image 172
Marat Avatar answered Nov 15 '22 03:11

Marat