Help:Content translation/Translating/Translation quality

When creating a translation, it is essential to review the contents before publishing them. You need to make sure that the content produced does not alter the original meaning in an unintended manner, and check that it reads naturally in the destination language. The initial machine translation provided helps to speed the translation process with a useful starting point, but the tool encourages users to review and significantly edit the initial contents.

A variety of mechanisms are devoted to ensuring that translators edit the initial translations appropriately. The translation editor tracks how much of the initial translation has been modified by the user, and defines different limits that either: prevent publishing, or warn users to encourage them to further review the contents.

In this way, the tool makes it possible for users to make good use of an initial machine translation, while preventing the creation of lightly reviewed, low quality results. More detail is presented below about how these limits work, how they can be adjusted to the needs of each language, and how to measure the quality of the content produced with the tool.

Limits to encourage reviewing the translation
Content translation [https://github.com/wikimedia/mediawiki-extensions-ContentTranslation/blob/master/doc/MTAbuseCalculation.md measures the percentage of modifications] that users make to the initial automatic translation provided. In this way, the system knows how many words have been added, removed, or modified from the initial translation. Measurements are made at two different levels: for each paragraph and for the whole translation. Different limits are applied at each level, as detailed below.

Limits for the whole translation
Publication is blocked if 99% or more of the whole document consists of unmodified, machine translated content. This limit prevents near-raw machine translations and circumvents clear vandalism. It also prevents users from merely adding content, without editing the machine translation portion. As detailed below, this limit can be adjusted on a per language basis.

Limits for each paragraph
The percentage of user modifications is also measured for each paragraph. A paragraph is considered problematic when it contains more than 85% of the initial machine translation (or, when copying the contents from the source document, it contains more than 60% of unmodified content).

The translation editor will show a warning for each paragraph that is considered problematic, encouraging further edits by the user. In some cases users are still able to publish, but the resulting page may get added to a tracking category of potentially unreviewed translations for the community to review. In other cases, users may not be allowed to publish at all.

The following are some of the factors considered for determining whether to allow users to publish or not (some of which are still in development):


 * The number of problematic paragraphs. Users are prevented from publishing translations with 50 or more problematic paragraphs. Publication of translations with less than 50 problematic paragraphs is permitted, but those with 10 to 49 problematic paragraphs will be added to a tracking category of potentially unreviewed translations for the community to review.


 * Previous deleted translations. To prevent recurring problems, the tool identifies users whose published translations were deleted in the last 30 days, and imposes much more strict limits upon their subsequent translation efforts. For users in this class, translations with 10 problematic paragraphs or more are prevented from publishing, while those with 9 or less problematic paragraphs are added to a tracking category of potentially unreviewed translations for the community to review.


 * User confirmation. A less strict threshold is considered for paragraphs that a user marks as resolved – taken as a signal that the user reviewed and confirmed the status of the translation. For paragraphs where the unmodified content warning is shown, but the user marks it as resolved, a less strict threshold is applied (accepting 95% of Machine translation or 75% of source content).  This will provide a way to accommodate cases where the automatic translation was exceptionally good, but still avoid potential abuse of the feature (i.e., not blindly following a user's confirmation).

Contents not affected by the limits
Some content is not expected to be edited significantly, and thus is not considered when applying the limits described above. Very short section titles, citations, or the list of references are excluded from review. Otherwise, users could receive misleading warnings sbout translating content that should not be, such as book titles appearing in references or other proper nouns.

Adjusting the limits
The limits described above provide a set of general mechanisms, but they may need adjustment depending on the particular needs of each wiki. Based on initial evaluation, the amount of modification needed to initial machine translation can range from 10% to 70%, depending on the language pair. On some wikis, the default limits may be too strict, generating unnecessary noise or preventing perfectly valid translations from being published. On other wikis, the limits may not be strict enough, allowing the publication of translations that have not been edited enough.

Adjusting the different thresholds allows each wiki to tailor the tool's limits according to its particular needs. Feedback from native speakers is essential in properly adjusting the limits imposed. If the current limits don't seem to work well based on your experience in creating or reviewing translations, please share your feedback, and we can explore how to better adjust them.

When providing feedback about adjusting the thresholds, we recommend that you first create several example translations (make sure to check the publishing options if your test is not intended to be published as regular content). When testing how the limits work for your language, it is useful to keep in mind the following:


 * Check for both cases. Make sure to check how the limits work for both: translations where the content has not been edited enough, versus where it has been edited enough. In this way, you can more easily find the right balance for the tool's limits feature.  Checking only one type of problem can lead to moving the thresholds too far in the opposite direction.


 * Check different content. Content in our wikis is highly diverse, and machine translation may work much better for some cases compared to others. For example, content that is full of numeric data or technical names may require less editing by users than content with more descriptive text.  Make sure to test by translating of a variety of different article types, of varying lengths, with disparate content.


 * Prepare to iterate. Adjusting the thresholds is an iterative process. It may require custom adjustments to the thresholds or that you improve your general approach.  In any case, after each change, further testing may be needed to verify the improvements made.

Adjusting the limits in collaboration with editors has proven to be effective. For example, initial results show that the Indonesian community was able to significantly reduce the number of problematic translations they were receiving by restricting the publication of translations with more than 70% of unmodified machine translation content. Similar adjustments have been made for Telugu and Assamese language wikis. There is no automatic tool that is infallible, and these limits are not an exception.

The process of content review by the community is still essential, but these limits provide communities with a tool to reduce the number of translations they have to focus on, making the review process much more effective. Please share your feedback and we can explore how to better adjust them.

Tracking potentially unreviewed translations
A 1>Special:TrackingCategories|tracking category with the name "cx-unreviewed-translation-category" is provided for communities to easily find articles that have been published with some content exceeding the recommended limits.

You can find this category in the list of tracking categories on each wiki. Using it, you can track articles that passed the limits preventing publication, but that still had some paragraphs that were edited less than expected. For example the Indonesian Wikipedia's category includes articles that have less than 40% of machine translation overall, but which have some paragraphs with more than 80% of unmodified machine translation.

Measuring translation quality
Evaluating content quality automatically is not trivial. Deletion ratios provide a useful measure for estimating whether the content created was good enough for the community involved not to delete it. Based on the analysis of deletion ratios, articles that are created as translations are less likely to be deleted when compared with articles created from scratch. This suggests that it may not be practical to set the limits for participation through translating much higher than those set for other ways of article creation.

Find published translations
Content translation adds a contenttranslation edit tag to the published translations. This allows communities the ability to use Recent changes, and similar tools, to focus on pages created using the translation tool. In addition, 1>Special:MyLanguage/Content translation/Published translations|data on published translations and [https://language-reportcard.wmflabs.org/cx2/#mt-engines the statistics for machine translation use] are available for anyone to analyze.

Inspect a specific translation


The [https://people.wikimedia.org/~santhosh/translation.html Translation debugger] is a tool that allows the inspection of some metadata for a given translation, including the percentage of machine translation used for the whole document, and the translation service used for each paragraph.

Other limits based on user expertise


Some wikis have implemented other restrictions for translating based on the user rights as a way to reduce the creation of low quality translations. For example, English Wikipedia requires users to be extended confirmed, which means they need to make 500 edits on English Wikipedia before they are allowed to publish a translation as an article. Newer editors can still publish translated articles in the  or   namespaces, and then move the article to the mainspace.

This restriction was created before the system of limits described in this page was available, and it is not the recommended approach to encourage the creation of good quality translations.

Before adding restrictions that do not take into account the content created, consider going through the process of adjusting the limits of unmodified content as described above. The limits can be made as strict as needed to prevent low quality translations, while still allowing publication by editors making good translations.