The idea is if you have a partially translated page:
```
Translated text.
Untranslated text in source language.
```
This should be altered to:
```
Translated text.
<div lang=en dir=ltr>
Untranslated text in source language.
</div>
```
Inline units would use `<span lang=en dir=ltr>Untranslated snippet</span>`.
This has various benefits especially for accessibility.
== QA plan
Affected projects: translatewiki.net, multilingual Wikimedia projects using Translate
Pre/post deployment: mark a page for translation, make translations, make changes to the page so that the translations become outdated. Inspect the translatable page source to confirm lang and dir attributes are present for untranslated sections. Test with LTR and RTL languages.
Potential breakage: tag-wrapping may break rendering of some pages with unexpected markup. Should keep close eye on reports.
== Outcome
Translation page output is tagged correctly with regards to language and writing direction.