Difference between revisions of "Content Translation"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
| (One intermediate revision by the same user not shown) | |||
| 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  | ||
| ⚫ | |||
| 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  | (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:
- 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[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
- https://www.mediawiki.org/wiki/Content_translation/Developers/Markup
- 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 Reordering superblanks )

