Page MenuHomePhabricator

Add JSON support to make_i18n_dict.py
Closed, ResolvedPublic

Description

Pywikibot core & compat still has many strings not migrated to twn. The maintenance script make_i18n_dict.py is able to extract a message dict from in a script, and migrate it to twn's python format, which appears to no longer be operational. make_i18n_dict.py needs to be enhanced to also create message bundles in twn's JSON format.

Event Timeline

jayvdb raised the priority of this task from to High.
jayvdb updated the task description. (Show Details)
jayvdb added subscribers: siebrand, jayvdb, valhallasw and 3 others.

I already wrote a script (for my own use) to convert .py twn files to json. I can add the functionality to the code.

Change 201189 had a related patch set uploaded (by Ladsgroup):
Add JSON support to make_i18n_dict.py

https://gerrit.wikimedia.org/r/201189

Change 201189 merged by jenkins-bot:
Add JSON support to make_i18n_dict.py

https://gerrit.wikimedia.org/r/201189