With removing .py files from i18n Directory all scripts fails in compat:
C:\pwb\SVN\compat>replace.py -regex "\((\d+?)\)" "[[\1]]" -page:user:xqt/Test
Traceback (most recent call last):
File "C:\pwb\SVN\compat\replace.py", line 969, in <module>
main()
File "C:\pwb\SVN\compat\replace.py", line 635, in main
{'description': u''})
File "C:\pwb\SVN\compat\pywikibot\i18n.py", line 338, in twtranslate
transdict = getattr(__import__("i18n", {}, {}, [package]), package).msg
AttributeError: 'module' object has no attribute 'replace'