I don't think compilation At Package installation time is a good idea because it would mean requiring GNU get text msgfmt binary availability at that point.
I'd say the way to go is to perform that .mo files generation at release time so that msgfmt needs to be installed on the Django team release manager in charge of cutting it. Regards, Ramiro Morales @ramiromorales On Sep 23, 2014 10:57 AM, <sokand...@yandex.ru> wrote: > Hi. I have some questions about implementation. > > It would be nice to compile those .mo files at package build time. >> > > It's about setup.py? Or compilation must be in another place? > One more question - if it should be in setup.py, will I be able to run > compilemessages command during package installation? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/f5c18c2c-f326-4788-a29e-a58cae65378b%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/f5c18c2c-f326-4788-a29e-a58cae65378b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAO7PdF_7mMa9bUVcCdPYWuj-MCjWBnhEXHRG_T7oE-N88Vsfcw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.