Difference between revisions of "Content Translation"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
| Line 16: | Line 16: | ||
| ==Content Translation's format handling== | ==Content Translation's format handling== | ||
| 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/ | * https://www.mediawiki.org/wiki/Content_translation/Developers/Markup and | ||
| ⚫ | |||
| 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 | ||
Revision as of 13:15, 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:
- https://www.mediawiki.org/wiki/Content_translation
- https://blog.wikimedia.org/2014/11/03/announcing-the-second-version-of-the-content-translation-tool/
See also Wikipedia_dumps for how to use published translations to improve your Apertium translator.
How to use it on your own wiki
See https://www.mediawiki.org/wiki/Extension:ContentTranslation
Content Translation's format handling
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/Product_Definition/LinearDoc
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 http://wiki.apertium.org/wiki/Reordering_superblanks )

