Translation: Difference between revisions
Line 35: | Line 35: | ||
# A Translation Administrator will prepare the page for translation (Special Pages under the Translation heading). This involves enclosing the entire page in <translate> </translate> tags and breaking it into individual translation units, generally corresponding to single paragraphs and headings. This is initially done automatically, but the Translation Administrator should perform a sanity check. If it appears ok, s/he will click Publish. | # A Translation Administrator will prepare the page for translation (Special Pages under the Translation heading). This involves enclosing the entire page in <translate> </translate> tags and breaking it into individual translation units, generally corresponding to single paragraphs and headings. This is initially done automatically, but the Translation Administrator should perform a sanity check. If it appears ok, s/he will click Publish. | ||
# Under Special Pages - Page translation, the page will now appear under Pages proposed for translation. Against it will be a Mark for Translation link, which a Translation Administrator can click. The page is displayed, showing how it's been broken up into "translation units". If these seem reasonable the Translation Administrator can click Mark this version for Translation at the bottom of the page. | # Under Special Pages - Page translation, the page will now appear under Pages proposed for translation. Against it will be a Mark for Translation link, which a Translation Administrator can click. The page is displayed, showing how it's been broken up into "translation units". If these seem reasonable the Translation Administrator can click Mark this version for Translation at the bottom of the page. | ||
# Any user can then click Translate (Special Pages under Translation). First select a target language. By default, at the top of the page it will say Message Group: All, and will display all the translation units that need translating. Click on All to select a particular page instead. ''NB on Mediawiki, "Translate this page" appears at the top of pages marked | # Any user can then click Translate (Special Pages under Translation). First select a target language. By default, at the top of the page it will say Message Group: All, and will display all the translation units that need translating. Click on All to select a particular page instead. ''NB on Mediawiki, "Translate this page" appears at the top of pages marked for translation. How do we get that?'' | ||
# Where translations were made by a user, a Trslator can go into the same translation page and mark translations as reviewed. | # Where translations were made by a user, a Trslator can go into the same translation page and mark translations as reviewed. | ||
# Changes may be made to the original source page. This will result in translations being marked as requiring update and a return to the previous step. | # Changes may be made to the original source page. This will result in translations being marked as requiring update and a return to the previous step. |
Revision as of 18:56, 25 October 2020
This pages summarises how this wiki might be made multi-lingual, and the steps required to achieve that.
When creating a new page, please also create an associated Discussion page based on the one for this page.
Summary
The Restart Project has an aspiration to make this wiki available in as many different lanuages as possible. Mediawiki, the software on which it's based, has extensions to facilitate multi-lingual support and a translation workflow. These are examined in this page, both from a user's and an implementor's point of view.
For the moment, this page comprises a repository of knowledge and implementation suggestions or proposals, but once multilingual support is implemented it will be changed into or replaced by a multilingual and translation guide for users,and hopefully the first page to be translated into any language.
Safety
- There are no safety issues as such, except the risk that a safety warning might be mis-translated, altering its meaning or lessening its force.
Mediawiki Extensions
The MediaWiki Language Extension Bundle (MLEB) comprises 6 individual extensions covering various aspects of multi-lingual support:
- UniversalLanguageSelector is foundational to the other extensions comprising MLEB, and adds a language selector to wiki pages.
- Babel provides a set of categories by which a user can declare his/her language competencies, and a template to declare them.
- cldr gives language and currency names against ISO country codes.
- CleanChanges hides less importnt information in change histories by offering filtering by user and laguage code suffix.
- LocalisationUpdate allows for updating of localisations for MediaWiki messages at any time, without needing to upgrade the MediaWiki software.
- Translate provides the framework and workflow for the translation of content.
In addition to MLEB, ContentTranslation provides further facilities over and above Translate for the translation of content, typically for an entire page. (Further detail required.)
A further extension, TranslationNotifications, provides a means by which translators may sign up for notifications about translations within their competance, sent by a Translation Administrator.
The following sections deal with each of these in an order more in line with their visibility to users.
Translate
Translation lifecycle
A page follows thefollowing lifecycle:
- The page is created.
- Over a number of edits and possibly an extended timescale, the page settles to a fairly steady state with relatively few and infrequent changes.
- A Translation Administrator will prepare the page for translation (Special Pages under the Translation heading). This involves enclosing the entire page in tags and breaking it into individual translation units, generally corresponding to single paragraphs and headings. This is initially done automatically, but the Translation Administrator should perform a sanity check. If it appears ok, s/he will click Publish.
- Under Special Pages - Page translation, the page will now appear under Pages proposed for translation. Against it will be a Mark for Translation link, which a Translation Administrator can click. The page is displayed, showing how it's been broken up into "translation units". If these seem reasonable the Translation Administrator can click Mark this version for Translation at the bottom of the page.
- Any user can then click Translate (Special Pages under Translation). First select a target language. By default, at the top of the page it will say Message Group: All, and will display all the translation units that need translating. Click on All to select a particular page instead. NB on Mediawiki, "Translate this page" appears at the top of pages marked for translation. How do we get that?
- Where translations were made by a user, a Trslator can go into the same translation page and mark translations as reviewed.
- Changes may be made to the original source page. This will result in translations being marked as requiring update and a return to the previous step.
- At all stages, statistics are available showing the state, including % completion, of all translations.
Permissions
Objectives
All logged in users can edit pages, subject to review, and in the same way, all users should be able to contribute and edit transations.
The Editor group has special permission to approve edits, and members need a good command of English. In the same way, the translator group will approve translations, and members need a professional or native command of the destination language.
Question: Should editors rather than translators mark pages for translation?
Detailed permissions
Logged out: Can view pages and page source. Language selector displayed but doesn't seem to do anything. Seems to allow Translation interface!
Autoconfirmed: Special:ImportTranslations enabled. Language selector works - but not on all pages? Special:Translation enabled.
Admin: Import translations, Prepare for Translation, Translation page migration
Autoconfirmed users: