Page MenuHomePhabricator

Exports and imports for translation memory
Open, MediumPublic

Description

In order to improve translation memory, it should be easy to get real test data from different production environments.

We need a new scripts to export and import this data. The format of the data should be different, more generic than what is currently stored in the schema. It should be possible to do a schema change in TTMServer index and just use the same dump to re-import the data.

Event Timeline

Change 638605 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] Add script to create a dump that can be imported to TTMServer

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

Change 638605 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Add script to create a dump that can be imported to TTMServer

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

This has been progressing slowly because:

  • The Elastic license change announcement caused uncertainty about the future of translation memory
  • Trying to not incur additional tech debt while creating new code. This has necessitated refactorings to improve the old code.

Change 655614 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] WIP: Add ImportTtmServerDump maintenance script

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

Change 655614 abandoned by Nikerabbit:

[mediawiki/extensions/Translate@master] WIP: Add ImportTtmServerDump maintenance script

Reason:

Not currently working on this. Can be restored later if work is resumed.

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