X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d7f362301d17a84c8eeb3428b208eca691c49aaa..a6554d68f532f4d15b75f75acd0d85d2b3b7ace2:/apps/wolnelektury_core/management/commands/localepack.py diff --git a/apps/wolnelektury_core/management/commands/localepack.py b/apps/wolnelektury_core/management/commands/localepack.py index 813515e8e..6133762f3 100644 --- a/apps/wolnelektury_core/management/commands/localepack.py +++ b/apps/wolnelektury_core/management/commands/localepack.py @@ -101,6 +101,7 @@ class CustomLocale(Locale): for lc in zip(*languages)[0]: shutil.copy2(os.path.join(input_directory, lc, self.name + '.po'), self.po_file(lc)) + os.system('pybabel compile -D django -d %s' % os.dirname(self.out_file)) SOURCES = []