As part of the template translation improvements (T139332), this ticket explores how to provide support the translation of inline templates such as unit conversion. Unlike block templates (T143121), inline templates appear inside the flow of text.
Supporting inline templates requires to find a way to select and edit them in the context of a translation (allowing to compare source and translated content in a fluent experience).
A prototype allows you to try the main concept also captured below:
Proposed solution
The proposal is aligned with the way block templates are adapted (T143121). The main differences are that:
- Inline templates are highlighted in grey on hover and in blue (like links) when selected.
- The template editing mode does not replace the template but creates a space below it to edit the information.
- As part of the adaptation options it makes sense to provide an option to turn the template into text in order to support cases when the content can be reused but the user does not know how the specific template works.