blob: 86840addddaaedc08cb871e9a120e5200d1a4557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import os
import subprocess
locales = os.listdir('locale')
def call_command(command):
print command
subprocess.call(command.split())
for locale in locales:
call_command(
'python ../manage.py jinja2_makemessages -l %s -e html,py,txt' % locale
)
call_command(
'python ../manage.py makemessages -l %s -d djangojs' % locale
)
|