Difference between revisions of "Content Translation"

From Apertium
Jump to navigation Jump to search
 
Line 17: Line 17:
 
CT has some workarounds for issues with Apertium's HTML [[Format handling]], see
 
CT has some workarounds for issues with Apertium's HTML [[Format handling]], see
   
* https://www.mediawiki.org/wiki/Content_translation/Developers/Markup and
+
* https://www.mediawiki.org/wiki/Content_translation/Developers/Markup
 
* https://www.mediawiki.org/wiki/Content_translation/Product_Definition/LinearDoc
 
* https://www.mediawiki.org/wiki/Content_translation/Product_Definition/LinearDoc
   
 
The CT code that does this is in
 
The CT code that does this is in
 
https://github.com/wikimedia/mediawiki-services-cxserver/blob/master/lib/mt/MTClient.js#L139
 
https://github.com/wikimedia/mediawiki-services-cxserver/blob/master/lib/mt/MTClient.js#L139
(it might be nice one day to extract that into a standalone tool? see also http://wiki.apertium.org/wiki/Reordering_superblanks )
+
(it might be nice one day to extract that into a standalone tool? see also [[Reordering superblanks]] )
   
 
[[Category:User interfaces]]
 
[[Category:User interfaces]]

Latest revision as of 13:16, 4 November 2019

Wikimedia has made an amazing UI for translating wiki articles, Content Translation, which uses Apertium to provide paragraph-level suggestions for post-editing.

Some info:


See also Wikipedia_dumps for how to use published translations to improve your Apertium translator.


How to use it on your own wiki[edit]

See https://www.mediawiki.org/wiki/Extension:ContentTranslation


Content Translation's format handling[edit]

CT has some workarounds for issues with Apertium's HTML Format handling, see

The CT code that does this is in https://github.com/wikimedia/mediawiki-services-cxserver/blob/master/lib/mt/MTClient.js#L139 (it might be nice one day to extract that into a standalone tool? see also Reordering superblanks )