Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This sandbox contains code for my Google Summer of Code 2016 project. The plan is to create two CKEditor plugins for Translation Management Tool module.

One would convert text parts into segments to easily segment the content into smaller bits and enable easier translation management. It's connected with the Translation Memory, to provide saved translation suggestions for requested segments.

The second plugin is to mask HTML tags inside segments. This would help is to understand the structure better and cleanly show which opening/closing tags are missing inside a segment.

NOTE: This project provides a number of puzzle pieces towards providing translators and reviewers better tools to work with TMGMT. Many other things are needed until this fully works together with real content.

Development workflow

The development workflow can be seen in my GitHub repository - by clicking [here](https://github.com/sasanikolic90/tmgmt_ckeditor/network). This shows all the branches that got created. Some of them got merged, others were created just for testing purposes.

Dependencies

For testing purposes, it currently depends on three other modules. Before installing, make sure you have these modules downloaded:

  • Translation Management Tool
  • Paragraphs
  • Translation Memory (found here)

How to test it:

  • make sure you have all the dependencies
  • install the module
  • for now, only the predefined nodes from my module are working - "Test for CKEditor plugins" and "Test for CKEditor plugins with paragraphs"
  • request a (german) translation of either one of those two nodes
  • enable plugins on translate/review page in the editor toolbar
  • test it (and possibly send me some feedback)

What works:

  • dummy nodes for testing with new text format
  • works on nodes with one or more editor pairs (paragraphs)
  • masking and unmasking the HTML tags
  • displaying the active segment in both editors
  • translation memory querying
  • displaying suggested translations from the memory
  • using suggested translations - placing the selected one in the active editor
  • validation of missing tags (globally and per segment)
  • adding of missing tag
  • set segments as completed
  • masked tag dragging

What needs work:

  • text segmentation (in tmgmt_memory)
  • saving segmented content properly, so that accepting translation does not save segments but initial content
  • responsiveness

Future steps:

  • marking a specific word
  • get definitions and synonyms for the word
  • UI improvements
  • testing
  • real users feedback

Also note that some of the "what needs work" and “not-working” issues listed above are not on my side; either they are out of scope for my GSoC project or based on tmgmt_memory/TMGMT.

When altogether will be fully functional, this module will be merged into TMGMT.

Code:

The project can be found here and in my [GitHub repository](https://github.com/sasanikolic90/tmgmt_ckeditor). Both project will stay updated. The current main branch is 8.x-1.x.

Supporting organizations: 

Project Information