[Fedora-packaging] Language file handling in Django packages

Matthias Runge mrunge at matthias-runge.de
Thu Sep 11 09:38:36 UTC 2014


Hello,

recently, I stumbled upon the question, how to handle
django.mo and django.po files in Django packages.

I haven't been able to find anything about that.

In my understanding, django projects provide translations in
django.po files, and most projects provide django.mo files
as well. The latter are produced by compiling the former.

So, ideally, this compile step would be executed during package build,
right? What about .po files? Do we have a policy to ship them? Or
don't we? Currently, most (all) Django packages remove them in 
%prep section.

I found a single bug about this:
https://bugzilla.redhat.com/show_bug.cgi?id=529188

Thoughts?
-- 
Matthias Runge <mrunge at matthias-runge.de>


More information about the packaging mailing list