create locale dir

This commit is contained in:
thomasv 2012-05-18 15:37:31 +02:00
parent efbd15e7c6
commit 726d892d72
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ s = f.read()
f.close() f.close()
s = s.replace('CHARSET', 'utf-8') s = s.replace('CHARSET', 'utf-8')
if not os.path.exists('locale'):
os.mkdir('locale')
for lang, strings in dicts.items(): for lang, strings in dicts.items():
ss = s[:] ss = s[:]
for k,v in strings.items(): for k,v in strings.items():