@@ -0,0 +1,819 @@
+import sys%0A%0Aimport yaml%0A%0A%0Adef main(base_file, new_file, overwrite_language):%0A    old = yaml.load(file(base_file).read())%0A    new = yaml.load(file(new_file).read())%0A%0A    assert len(overwrite_language) == 2%0A%0A    for o, n in zip(old, new):%0A        if overwrite_language in n%5B'text'%5D:%0A            o%5B'text'%5D%5Boverwrite_language%5D = n%5B'text'%5D%5Boverwrite_language%5D%0A        if o%5B'type'%5D == 'multiple_choice':%0A            for oo, on in zip(o%5B'options'%5D, n%5B'options'%5D):%0A                if 'details' in oo and overwrite_language in on%5B'details'%5D:%0A                    oo%5B'details'%5D%5Boverwrite_language%5D = on%5B'details'%5D%5Boverwrite_language%5D%0A%0A    sys.stdout.write(yaml.safe_dump(old, allow_unicode=True, default_flow_style=False, encoding='utf-8', width=10000))%0A%0Aif __name__ == '__main__':%0A    main(sys.argv%5B1%5D, sys.argv%5B2%5D, sys.argv%5B3%5D)%0A

Add translation merging python script