X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d7f362301d17a84c8eeb3428b208eca691c49aaa..d6cda2aae737f7c1f039695572f7bbc22bded124:/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 = []