As part of the Mobile editor for Section translation (T243495), users are presented with a preview of the contents they translated before they are published. This step is about giving an opportunity for the user to understand how the content will be published and provide an opportunity to make final adjustments.
[[ https://pauginer.github.io/prototypes/translation/sections/dash-mob/#PublishPreview | View this step in prototype ]] for a general overview.
# General Concept
In previous steps users have manipulated different pieces of content, this step provides an overview of the translation that is going to publish (and the destination for such publication). This is also an opportunity to surface warnings, and show errors related to publishing.
| Overview | Layout |
|---|---|
|{F31814231, size=full}|{F31814234, size=full}|
# Publish controls
|{F31814238, size=full}|{F31814241, size=full}|
Messages:
> Confirm publication
>
> **Ready to publish?**
>
> Your translation will be **added to the article as a new section**.
>
> [Publish options]
>
> **Check the whole translation before publishing** and make sure that you included all the relevant information from the original section.
# Content preview
{F31814244, width=50%}
# Publish options
|{F31814250, size=full}|{F31814252, size=full}|{F31814254, size=full}|
By default two options are provided:
> **Publish as a new section**
> Add a new section to the article.
> **Publish to your Sandbox**
> Publish to your personal space for you to review and copy elsewhere.
# Publishing destination conflicts
{F31817401, width=50%}
Two additional options are provided:
> **Publish as a new section**
> Add a new section to the article.
> **Add contents to existing section**
> Expand the existing section preserving their contents.
> **Replace existing section**
> Delete the existing section, adding your translation instead.
> **Publish to your Sandbox**
> Publish in your personal space for you to review and copy them elsewhere.
# Publish transition
|{F31814263, size=full}|{F31814265, size=full}|
**In progress:**
> **Publishing translation…**
> Thanks for expanding the content available in your language
{F31814757}
**Success:**
> **Published!**
> Opening the page…
{F31814758}
**Failure:**
> **Publishing failed**
> Check the error messages
{F31814759}
# Errors and warnings
{F31814267, width=50%}