From d6cda2aae737f7c1f039695572f7bbc22bded124 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 28 Mar 2012 15:02:48 +0200 Subject: [PATCH 1/1] compile pybabel --- apps/wolnelektury_core/management/commands/localepack.py | 1 + 1 file changed, 1 insertion(+) 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 = [] -- 2.20.1