Content translation/V2

Content translation version 2 is a revamp of the translation system with OOJS based code organization and OOJS-UI based front end. This will also have the editor component enhanced using Visual Editor.

The plan is to gradually replace version 1 with version 2. Version 2 wont be an incremental update to version 1. But the translations created using version 1 should work with version 2 also.

Rationale
CX was developed iteratively for last 2+ years. During that time, features were added in several stage of product development. In the beginning of the project, there was a highlevel understanding of features but not the details. So the architecture was a flexible one where modules can be plugged and get this done. This worked very well for us and we were able to add features fast. But the approach caused code duplication, less organized hierarchy of similar usecases. So a consolidation and reorganization of these use cases is much needed.

The general direction in which CX is moving is to align with the MediaWiki extension good practices which includes OOJS UI based standardised frondend. Also CX need much improved editing experience with the help of VE. OOJS and obvioulsly VE follow object oriented architecture heavily. CX's plugin based and global hooks based architecture is ill suited to mix with them. So the above mentioned organization should follow OO architecture for the best match.

The patched up CX code showed some shortcomings recently and we can solve it during this reorganization.

Major features

 * OOJS UI based translation interface
 * Visual Editor as editor
 * Machine translation support for Template params, reference texts and practically all kind of elements in screen. In version 1, machine translation was limited to paragraphs alone
 * Fixing lot of bugs that was too difficult to handle with previous version
 * More editing tools, inherited from VE, such as table editing, link editing
 * Better support for References and Templates
 * Ability to add and remove categories
 * UI revamp based on UI Standardisation initiative

Status
The new version is always available in production and can be accessed using version=2 in the normal CX translation view. At present this is highly unstable.The progress is tracked using

Rollout plan
A rough plan is to enable version 2 is smaller wikis or subset of wikis to do QA and gradually rollout to more wikis.