Help:Contributing/languages/translationAdmin/en: Difference between revisions
Jump to navigation
Jump to search
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 19: | Line 19: | ||
* Keep units self-contained: one sentence or short paragraph each. | * Keep units self-contained: one sentence or short paragraph each. | ||
* Do not split markup or code across units. | * Do not split markup or code across units. | ||
* Wrap anything that must not be translated — entity IDs, | * Wrap anything that must not be translated — entity IDs, page names, code — in tvar. | ||
* Never wrap a whole link in a tvar: the link label must stay translatable, so write it in the unit text and keep the target fixed (Special:MyLanguage links also route readers to their language version). | |||
* Keep existing unit markers unchanged when editing; the extension assigns numbers when you mark. | * Keep existing unit markers unchanged when editing; the extension assigns numbers when you mark. | ||
Latest revision as of 09:05, 19 August 2026
This page is for the translation administrator role: you mark wiki pages for translation and manage their units. The Help:Contributing/languages page explains the two mechanisms and the target languages.
Marking a new page
- Add
<languages/>at the top of the page. - Wrap each unit in
<translate>— one sentence or short paragraph per unit. - Open Special:PageTranslation and mark the page.
Updating a marked page
Editing a marked page changes its units. After the edit, mark the page again at Special:PageTranslation. Changed units are flagged as outdated until translators retranslate them.
Unit hygiene
- Keep units self-contained: one sentence or short paragraph each.
- Do not split markup or code across units.
- Wrap anything that must not be translated — entity IDs, page names, code — in tvar.
- Never wrap a whole link in a tvar: the link label must stay translatable, so write it in the unit text and keep the target fixed (Special:MyLanguage links also route readers to their language version).
- Keep existing unit markers unchanged when editing; the extension assigns numbers when you mark.
See also
- Help:Contributing/languages — the hub
- Help:Contributing/languages/translator — the other role
- Page translation example (official)