These are the frequently asked questions about Content Translation.
What is Content Translation?Edit
It's a project that includes a set of tools and practices that help editors create a new article based on a corresponding article about the same topic in a different language.
It has been available for use on Wikipedia in all languages since 2015.
What is CX? Why not "CT"?Edit
"CX" is an abbreviation for "Content Translation". It couldn't be abbreviated as "CT" because these letters are already used for the CategoryTree extension.
Is it "ContentTranslation" or "Content Translation"?Edit
"ContentTranslation" is the technical name of the MediaWiki extension that makes this project possible.
For everything else it's preferable to write "Content Translation", with a space.
The name can and should be translated to other languages, as separate words, and capitalized according to the respective languages' rules.
Can I use Content Translation for editing existing articles?Edit
It is possible to publish to the same title. You will see a warning if you try to do this. If you publish despite the warning, and ContentTranslation will create a new revision. Old revisions will be preserved in the history, but your new revision won't have any of their text.
In the future there will be a new feature to translate just one section and add it to an existing page without discarding the other existing sections.
What is CX2?Edit
It's a major version of Content Translation first released in September 2018. It keeps the general design of Content Translation, but several features are thoroughly updated. In particular, it integrates Visual Editor as the editing environment, improves paragraph alignment, and makes several changes in support for templates. As of October 2018, CX2 is still in development. You can try it by clicking "Try the new version" on the Content Translation dashboard.
The version before CX2 is called "CX1".
For more information about CX2, see Content translation/V2.
What is CX3?Edit
It's a major version of Content Translation, which is being developed during 2020. It is also sometimes known as "the Boost project", "Section Translation", and "SX". It will include better adaptation to mobile devices, the capability to translate sections rather than whole articles, new entry points, and other features. for more information, see Content translation/Section translation.
Is there a user manual for this tool?Edit
Yes! See the page Content translation user guide. You can also translate it to your language.
Is Content Translation a machine translation or an automatic translation tool?Edit
Content Translation is a working environment for human wiki editors that helps creating the first revision of an article by translating an existing article from another language. It automatically helps to adapt images, links, footnotes, templates and some other formatting elements.
For some language pairs it also has the option of integrating a machine translation service. The currently supported services are Apertium, Google Translate, Matxin, Yandex.Translate, and Youdao. More services may be added in the future.
Is there interest in this feature?Edit
Definitely! It was pretty clear even before the development started: In the past there were so many attempts at making similar tools that it's impossible to count them. Some are listed at m:Machine translation#Attempts (please add there any you know of).
As of October 2018, over 40,000 users created over 370,000 articles using it since it was enabled in January 2015. More than 500 users created over 100 articles each using Content Translation. So it is more certain than ever that there is demand for it.
How does the Content Translation tool differ from the Translate extension?Edit
The Translate extension was initially built with focus on translating software user interface messages for MediaWiki and other programs. As such, it's built to keep translations in sync with the source language, while each language edition of a Wikimedia project is supposed to be independent and not reflect a source language.
To provide its advanced features on MediaWiki wiki pages, Translate requires preparation of the source page for translation with some additional markup, which can't yet be handled visually. Said wikitext is distracting to most editors and we did not want to expose Content Translation translators to it.
Is it available for all users of a wiki?Edit
It is available for logged-in users of a wiki where it's enabled, and it must be enabled as a beta feature in the preferences.
It is gradually being taken out of "beta feature" status, and converted to a user preference.
When I try to use Content Translation, I see a blank page and nothing works. How can I fix this?Edit
#bodyContent actually exist.
If this explanation is too complicated or doesn't help, please report the issue at Talk:CX, and if possible, notify the people who maintain gadgets and user scripts on your wiki.
If you have Content Translation enabled in your user preferences or as a beta feature, Content Translation will sometimes add up to three gray interlanguage links to Wikipedia articles. A gray link is shown if the article is not available in a relevant target language. Relevant target languages (no more than three) are selected for each user in the following order:
- The user interface language, as selected in the preferences (it may be different from the wiki's content language).
- The user interface language of the browser's menus.
- The user's preferred content languages, as defined in the browser preferences.
- Languages on which the user previously clicked in the language selection panel.
Can it be used only to translate Wikipedia articles?Edit
The focus for initial development is articles in Wikipedia. In the future it may also be enabled in Wikivoyage and other sites.
What are the steps to create a new article with the Content Translation tool?Edit
The main entry point to Content Translation is a button on your contributions page:
- Click "Contributions" in your personal bar (near "Log out").
- Click "New contribution" and select "Translation".
- Click "Create new translation".
- Select the language from which you want to translate in the "From:" field, and type the name of the article in that language.
- Select the language to which you want to translate and type how the new article will be called.
- Click "Start translation". This will take you to the translation interface.
- Type the translation of each paragraph in the translation column. You don't have to translate all the paragraphs. Translate as much as needed for the wiki in your language.
- Until you publish, the translation is regularly saved automatically, so you don't have to worry that you'll lose it. To come back to an article that you started translating, repeat steps 1 and 2 and select the article from the list that you'll see.
- When you wrote everything you want for the first version of the new translated article, click "Publish translation". This will create a new article in the wiki in the target language with the title that is given at the top of the translation column.
What are the "Suggestions" in the dashboard?Edit
"Suggestions" are personalized automatically-generated links to translating articles that exist in one language but not in another. They are generated based on the articles that the user who is viewing the CX dashboard translated recently, and on frequently-read articles in one language that don't exist in other languages. So for example if you translated an article about a city in India, you are likely to see more suggestions to translate more articles about cities in India. And if there is an article about the recently-elected president of Slovakia in English, but not in your language, you are likely to see a suggestion to translate it.
How can I read a suggested article in the source language before I translate it?Edit
Click the language name.
For example, if the suggestion is to translate an article from English to Italian, you will see "English > Italiano" at the bottom of the suggestion row. The word "English" will be a link to the article in English.
Links will be automatically inserted when a corresponding link can be found using interlanguage links.
Other way to add links are:
- Selecting a word in the translation which is spelled the same as the target article, and clicking "Add link" in the sidebar.
- Selecting a word in the translation, and clicking a link in the source column. If a corresponding article exists in the target language, a link to it will be added.
- Selecting a word in the translation and adding a link to any page using the tool that appears in the sidebar. By default, a list of available adaptable will be shown under the link tool.
How does Content Translation handle categories? Can I add categories or use HotCat?Edit
Content Translation automatically adapts categories for which there is a directly-corresponding category in the target language. The correspondence is derived through interlanguage links.
If you use CX1, if you want to add more categories to an article, it will have to be done after the initial version is created.
If you use CX2, you can add more categories during translation by typing their name at the bottom of the categories list in the translation column.
How does Content Translation handle references?Edit
The tool will try to adapt references as much as possible between the source and target languages.
If you delete a reference from the translation, you can add it back by placing the caret where you want to add the reference, clicking the reference in the source column and then clicking "Add reference".
Adapting references may be challenging given that different languages use different citation formats. If there is a reference that you cannot adapt, or that is adapted incorrectly, please report a bug.
Is it possible to edit references in Content Translation?Edit
Adding references is not possible in CX1. You can only to copy them as-is. You can change them or add your own references after creating the article.
In CX2 you can add, edit, and delete references similarly to how it is done in Visual Editor.
Can I copy images over from the source article?Edit
Yes, images will be copied just like paragraphs - simply by clicking. The translator will have to type the caption, of course.
It works only if the image is stored in a common media repository (for Wikimedia projects this is Commons). It doesn't work for files stored in the projects locally. It also won't work if the image is a part of a template, such as an infobox; however, it may be possible to adapt the image if the template is adapted.
What does it mean to publish the article?Edit
The publishing of the article is the same as creating a revision of a wiki page - it has a date, the revision author's username and an edit summary, it appears in Recent Changes, etc.
How are the writers of the source article credited?Edit
Will the previous revisions of the translated be imported when I am translating?Edit
In Wikipedia in some languages, such as German, there is a custom of importing the revisions of the article that was translated so that they appear in the history as if they were made before the first actually translated revision. This can be done with articles that were created using Content Translation in the same way.
Can I continue translating after publishing?Edit
At the moment Content Translation is focused on creating the first version of the article. After publishing, the translation cannot be loaded as such from the dashboard, and the published page must be edited as a usual wiki page.
There is a plan to make it possible to add translated paragraphs to already-published pages.
Will Content Translation use information from Wikidata?Edit
Yes, in several ways:
- Interlanguage links from Wikidata are used to auto-fill the links in the translated article.
- When a translated article is published, a sitelink to it is added to the corresponding Wikidata item, so that an interlanguage to it appears immediately.
- Descriptions from Wikidata are shown in the linking tool and in the article selection tool.
- The dashboard has a link to a Wikidata-based tool that helps you find articles that don't exist in your language.
When templates in different Wikipedias will use data from Wikidata more, they will be simply picked up by Content Translation without any effort from the translator.
There are also plans to use labels and aliases in smart ways in the future.
What are the translation aids that will be made available?Edit
The current plan is:
- Dictionaries: translation and definitions of words.
- Link adaptation: Links will be adapted automatically when they will be available as interlanguage links to the target languages. It will be possible to make basic manipulation on them - remove them and pick them from other sources.
- Category adaptation: Categories that have a directly corresponding category page in the target language linked by an interlanguage link will be added to the translated page.
- Image adaptation: Images are copied to the translated article in one click.
- Machine translation and translation memory: These are similar to what is used in the Translate extension.
- Automatic interlanguage link adding. An interlanguage link will appear immediately after publishing the article.
Can anybody read the text that is saved automatically while I am writing the translation?Edit
No. It is accessible only to the translator until the publishing.
Will you provide suggestions from translation memory?Edit
This is planned as a future feature.
The data for translation memory will have to be filled from some initial translations, so it may take a while from the time that translation memory is enabled for Content Translation until it becomes useful.
How good are the articles created using Content Translation?Edit
As good as any other articles are created in Wikipedias in the respective languages.
Since the deployment of Content Translation as a beta feature in some languages in January 2015 until November 2015 about 30,000 articles were created. In July 2015 CX became enabled as a beta in all languages, and since then till November 2015 less than 10% of the articles created using CX were deleted. For comparison, the rate of deletion of articles that are created using the wiki syntax editor goes up to 50% in English.
The articles that were not deleted developed as usual Wikipedia articles: people fixed layout, added or edited paragraphs, added templates, improved references, and so on. Usually these improvements were done both by the person who created the first version and by other wikipedians.
There is no machine translation for my language. How is Content Translation useful to me and my wiki?Edit
By itself Content Translation is not a machine translation tool. Its primary focus is to help people to create translated wiki pages as efficiently as possible. It includes tools that are tightly integrated with MediaWiki and its usual content creation and editing workflow: display of the source and the translation side-by-side; adaptation of links, categories, images and text formatting; publishing to different namespaces; interlanguage links. These features are already supposed to make typing translated articles by hand easier.
This is not just theory. Content Translation was enabled in the French Wikipedia on March 31 2015 and by June 7 it was used to create 500 articles, even though machine translation was not available.
The fact is that machine translation is not available for the majority of languages in which there are Wikipedias, so most language pairs will only be able to use Content Translation as a tool to translate articles manually with the above adaptation tools. If you want to help create a machine translation engine for your language, see How can I improve machine translation support for my language?
Machine translation to my language is bad, and it's easier to translate manually. How is Content Translation useful to me and my wiki?Edit
As written in the previous answer, Content Translation is not by itself a machine translation tool, but a tool to create translated wiki pages. It is designed to be useful even without machine translation.
Machine translation works quite well in some languages, and then it can make the translators' work even more efficient. Machine translation support for a language pair is enabled after testing and approval from people who know the language well.
If machine translation support for your language is enabled, but you don't want to use it, you can disable it and still enjoy the other tools, such as link, category, and image adaptation, as well as dictionaries (if available for your language).
How are you integrating machine translations?Edit
For language in which machine translation is supported in Content Translation, machine translation will be auto-filled upon clicking a paragraph in the translation area.
Initially we're using the Apertium engine, which is free software and can be installed and maintained on our own servers. At a later point we may use Moses and other engines. In November 2015 we added Yandex for limited use between English to Russian and in the months after that we enhanced this to most languages that Yandex supports. We have added more machine translation services since then - Matxin and Youdao. You can read more about the process in the page dedicated to machine translation systems in Content Translation.
Content Translation just pastes the same text from the source article. How do I actually make it translate the content?Edit
First of all, it's important to understand that Content Translation by itself is not a machine translation tool. The translation is supposed to be done by humans. For some languages machine translation is integrated, but even then it is always supposed to be fixed by the translator.
If Content Translation supports machine translation to your language, you'll be able to enable it in the "Automatic translation" card that appears in the sidebar when you click a paragraph.
If machine translation to your language is not supported, you will only have two options: to retype the information that is initially pasted in the source language, or to disable it entirely in the "Automatic translation" card and type everything by yourself. In all cases you'll be able to use other tools, such as link, image and reference adaptation.
What languages are being handled by Yandex? Are there plans to add more?Edit
Yandex is available at present for more than 70 languages. As Yandex’s language coverage expands we will consider enabling them for Content Translation. Please note: Yandex machine translation will not be available when creating pages into English.
How is using Yandex different than using Apertium?Edit
As a user of Content Translation you will not feel any difference on the translation interface as the machine translation system of Yandex will display the translated content in the same way Apertium currently does for the supported 45 language pairs.
How is the machine translation being done if I choose Yandex?Edit
Yandex provides a free for use API key that allows websites and other services to use their translation system. Content Translation also uses a unique API key to access this service on Yandex’s server. When a user starts translating an article, the HTML content of each section of the source article is sent to the Yandex server and a translated version is obtained and displayed on the respective translation column of Content Translation. Links and references are adapted as usual and users can modify the content as required.
This process continues for all the sections of the article being translated. For better performance, the translations for consecutive sections are pre-fetched. The user can save the unpublished translation (to work on it again at a later time) or publish the article in the usual manner. The article is published on Wikipedia like any other normal article with appropriate attribution and licenses.
Yandex is not based on open source software. Why are we using it?Edit
Content Translation evolved from a long-standing need to bridge the gap in the amount of content between Wikipedias in different languages. Like all other software used on Wikimedia sites, Content Translation is also open source. In this particular case as well, we are using an open source client to interact with the external service and import freely licensed content in order to help users expand our free knowledge.
To use Yandex’s machine translation system we are not adding any proprietary software in the Content Translation code, or on the Wikimedia websites and servers. The service is free of charge and available for everyone.
Only the freely available Wikipedia article content (in segments) is sent to the Yandex service and the obtained translated content is freely usable on Wikipedia pages. The translated content can be modified by users and this data is also available publicly under a free license through the Content Translation API. This is a valuable resource made available for the community to develop open source translation services for those languages where they don't exist yet.
From user feedback we have seen that machine translation support is really helpful for users and we want to support all languages in the best way. Guided by the principles of Wikimedia Foundation’s resolution to support free and open source software, we will prioritise the integration of open source services whenever they are available for a language. Apertium has been a critical part of Content Translation since its inception, but currently it only provides machine translations for 45 of the numerous possible language combination that Wikipedia can support.
Should I be worried about my personal information when using Yandex?Edit
Irrespective of the service being used, you can be sure that only Wikipedia content from existing articles is sent and only freely licensed content will be added back to the translation. No personal information is sent and communication with those services happen at the server side, so they are isolated from the user device. Please refer to this diagram for more details.
What if Yandex is the only machine translation tool available and I don’t want to use it?Edit
Machine Translation is an optional feature in Content Translation that you can easily disable at will. If more machine translation systems are added for your languages, you can choose to enable MT again and select the MT service of your choice.
Will the content translated by Yandex be free for use in Wikipedia?Edit
Yes. The content received from Yandex is otherwise freely available on the Yandex web translation platform. Content Translation receives it via an API key to make it seamlessly available on the translation interface. This content can be modified by the users (if necessary) and used in Wikipedia articles under free licenses.
Can this content be used for improving machine translation systems in general?Edit
Yes. Translations made in Content Translation are saved in our database. This information will be made publicly available for anyone to use as translation examples to improve their translation services (from University research groups, open source projects to commercial companies, anyone!). The content can be accessed via the Content Translation API. Please note, only information related to translated text is publicly available. This includes - source and translated text, source and target language information and an identifier for the segment of text.
How can I improve machine translation support for my language?Edit
Apertium is an open source rule-based machine translation engine. If you know your language well and you know programming you can try adding support for your language to Apertium.
Statistical machine translation enginesEdit
Statistical machine translation engines such as Google, Yandex, and others, need a lot of texts in different languages. If your language is poorly supported in these engines, or not supported in them at all, the best thing that you can do to contribute to the development of machine translation into your langauge is to translate as many articles as possible into it. This will take effort and time, but that's how it works.
Why doesn't Content Translation use the wiki syntax editor?Edit
Because it should be easier for translators who are beginners with Wikipedia editing, and because it was much easier to implement features the adaptation of references, images and links, as well as machine translation integration in an HTML-based WYSIWYG editor. Content Translation is an article creation tool rather than an article editing tool. Because it is not supposed to be a full-fledged article editing environment, it only provides the most basic formatting tools. After an article is created, it can be edited in the VisualEditor or in the source editor, just like any other article.
In more technical terms, Content Translation uses a simple HTML "contenteditable" element that is available in modern browsers. It transforms the source article's HTML to the translation, and when publishing the article as a wiki page, it converts the translation to wikitext using Parsoid. At the moment, Content Translation does not use the VisualEditor for editing the translation, though this may be done in the future.
As of mid-2016, there is no plan to add the ability to write the translation in wiki syntax in Content Translation. There is a possibility that this will happen in the future, however, for example by integrating the new wikitext editor that is being developed by the Visual Editor team.
If you are concerned about the quality of the wiki syntax, you can publish your translation to user or draft space by changing the target title appropriately.
Are you building on other efforts as well?Edit
There was a lot of research on the topic, see m:Machine translation#Attempts. For instance: «The quantitative results show that the contributions can improve the accuracy of a combination of RBMT-SPE pipeline at around 10 %, after the post-edition of 50,000 words in the Computer Science domain. We believe that these conclusions can be extended to MT engines involving other less-resourced languages lacking big parallel corpora or frequently updated lexical knowledge» (doi:10.1007/978-3-642-35085-6_4).
Can the machine-translated content be edited manually?Edit
Yes, and it should be!
We treat machine translation only as a tool that may help a human translator be faster. Publishing machine-translated articles is not the intention of Content Translation, and it is actively discouraged.
Will there be a feature to prevent bulk publishing of unedited machine translated text?Edit
We take article quality seriously. Machine translation is only a tool that helps the translator be more efficient, and the developers understand well that all translations must be edited by a human. The translation interface will show a warning if the translator will try to publish an article that only has machine translation. The developers will work with the editing communities to adjust this for the needs of every language.
What dictionaries will be available?Edit
The dictionaries will be initially taken from free dictionaries from the freedict project. Later other dictionaries may be added, such as Wiktionary, OmegaWiki, terminology collections, and possibly other open sites.
How will templates be handled? How are you handling infoboxes?Edit
Since November 2016 it is possible to edit templates in Content Translation. For each template, three options are given:
- Skip the template.
- Transfer the template's source code as-is to the translation.
- If a corresponding template exists in the target language, insert that corresponding template and edit its parameters one by one.
For more information about template support in Content Translation, see the page Content translation/Templates.
Is it possible to insert a template using Content Translation?Edit
If you use CX2, you can insert templates just like in Visual Editor.
It's not possible in CX1.
Will I be able to use the ULS input methods?Edit
Yes. To do this, a user with appropriate permissions must edit the page MediaWiki:Cx-tools-view-guidelines-link.
When will this be available on Wikipedia in my language?Edit
All Wikipedias are supported since July 8, 2015.
Where can I find more technical details about the tool?Edit
Start from the following pages:
Can I set up the Content Translation extension on my local wiki?Edit
Just install the extension and follow the configuration guide. The default configuration has a bias for Wikipedia, so be sure to set it up correctly for your wiki.
What is cxserver?Edit
The ContentTranslation extension works from the outset with multiple wikis and it needs to synchronize information between them. To make this possible, it uses an additional component called "cxserver". It also optimizes much of the connection to translation tools, such as dictionaries, machine translation, etc.
Does it work in Microsoft Internet Explorer?Edit
Similarly to VisualEditor, Content Translation works in Microsoft Internet Explorer 10 and newer versions. It doesn't work in version nine or older, but support for them may be added in the future.
- A markup applied to some part of text. Basically, it is html tags like anchor, bold, italic, underline etc.
- a box which appears in the tools column on the special page and provides translation tools for specific context, e.g. a box that allows editing links
- vertical areas in which Special:ContentTranslation is divided: there are currently three columns (source, translation, tools)
- Content Translation (CX)
- This tool consisting of ContentTranslation extension and cxserver backend.
- Backend for CX written in Node.js, handling text segmentation and providing consistent API for services like machine translation, dictionaries and translation memories.
- A list of terms with definitions or translations.
- GWT (Given-When-Then)
- GWT is a semi-structured way to write down test cases. They can either be tested manually or automated as browser tests with Selenium.
- also called stemming. Mapping multiple grammatical variants of the same word to a root form; e.g. (swim, swims, swimming, swam, swum) -> swim. Derivational variants are not usually mapped to the same form (so happiness !-> happy).
- link localization
- Converting a wiki article link from one language to another language with the help of wikidata. Example: http://en.wikipedia.org/wiki/Sea becomes http://es.wikipedia.org/wiki/Mar
- machine translation (MT)
- Initial translation made by computer algorithms to help translating faster.
- morphological analysis
- mapping words into morphemes, e.g. swims -> swim/3rdperson_present
- parallel bilingual text
- two versions of the same content, each written in a different language.
- reduced in segments
- Smallest unit of text which is fairly self-contained grammatically. This usually means a sentence, a title, a phrase in a bulleted list, etc.
- segmentation algorithm
- rules to split a paragraph into segments. Weakly language-dependent (sensible default rules work quite well for many languages).
- sentence alignment
- matching corresponding sentences in parallel bilingual text. In general this is a many-many mapping, but it is approximately one-one if the texts are quite strict translations.
- Things like MT, TM, Glossary
- service providers
- External systems which provide a service. Example: Google
- source column
- the column showing the segmented article in source language.
- template destruction
- inlining a template contents when suitable template does not exist in the target wiki
- tools column
- the column where cards appear
- translation column
- the column where the translation is done.
- translation memory (TM)
- A service which suggests translations based on previous translations.
- translation tools (translation support tools, translation aids)
- Context-aware translation tools like MT, Dictionary, link localization
- word alignment
- matching corresponding words in parallel bilingual text. This is strongly many-many.
- translation dashboard
- Listing of all translations of a user. A new translation can also be started from here.
Escape way from the freezeEdit
Force the browser to quit (There are no guarantee)
Remove the text that seems to be causing the freeze.
At that time, cut the text using the visual editor of the content translation tool, and save it to another location using the usual visual editor.
As a precautionary measure, be sure to empty the entire paragraph using "Start with an empty paragraph", rather than just removing the text.
Once published, add the text you saved earlier and make any necessary corrections.
Please write solution to the "supposed" bugs.Edit
Using the source code editorEdit
Although it is a specification rather than a bug, the content translation tool does not have a source code editor. So, in some case, it can be difficult to determine what causes the error. At this time, RUN the visual editor on another page such as your own sandbox, and COPY the suspitious text with the visual editor of the content translation tool, and PASTE it to the sandbox, Now, you can use source code editor on your sandbox.
Edit filters behave improperly in content translationEdit
Edit filters may behave improperly in content translation.
Workaround: Remove paragraphs, etc. that were subject to errors, perform separate translation work, and add them after "publishing" the content translation.
User-provided categories added to the translation are ignored when publishedEdit
This problem has already been reported to phab:T242613 and is underway.
Workaround: In parallel with working on content translation, prepare with a text editor and add it after "publish".