Content translation/Machine Translation/Configuration

Machine Translation configuration for ContentTranslation stays in various repositories:


 * ContentTranslation
 * cxserver
 * deployment-charts (WMF specific configuration along with API keys (private))
 * mediawiki-config

Add new languages in existing Machine Translation
Update  file (example: Google.yaml) for new language. Make sure to check respective web service APIs if language is listed there. For example, Google Translate supported languages are listed with code at: https://cloud.google.com/translate/docs/languages

Make MT default for particular pair

 * Update  This affects production.

Example:

Adding similar languages for Machine Translation
Also see: https://phabricator.wikimedia.org/T258919

Removing language from the target

 * Update, add 'notAsTarget' block for a language that not needed as the target in Machine Translation.

Example: If we don't need 'xy' language as a target:

Update Machine Translation threshold

 * Update
 * Set value of  as needed.

Disable or enable Machine Translation

 * Update
 * Update  (  or  )