https://bugzilla.wikimedia.org/show_bug.cgi?id=63327

--- Comment #11 from Niklas Laxström <niklas.laxst...@gmail.com> ---
Or you can use the following python script to create json files for testing:

import json
import glob
import importlib
import os

for file in glob.glob("*.py"):
  module = file[:-3]
  try:
    dict = importlib.import_module(module).msg
    os.mkdir(module)
    for lang in dict:
      file = open(module + "/" + lang + ".json", "w+")
      json.dump(dict[lang], file, ensure_ascii=False)
  except AttributeError:
    pass

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to