17
for k,v in adict.items():
22
trans[k + str(idx)] = v
29
print("File arg missing. Stopping")
32
if os.path.exists("i18n.json"):
33
os.remove("i18n.json")
35
print("the filel:", sys.argv[1])
37
with open(sys.argv[1]) as j_file:
45
with open("i18n.json", "w") as outfile:
46
json.dump(trans, outfile, indent=4)
48
#print(json.dumps(trans, indent=4))