Some issues do not prevent a translation from publishing. However, we want to encourage users to create quality content which is less likely to be reverted. As part of the system to communicate errors and warnings in Content Translation (T189488), we want to make sure that the issues presented have been considered before publishing the page.
In order to support this we can show a confirmation dialog after the user clicks "Publish".
We'll show the dialog only when there are issues in the translation that are detected and communicated to the user. Issues that the user can mark as resolved, or explicitly discard them, won't be counted.
The message will inform the user about the existence of issues, encourage to review and surface the impact those issues may have to the community (the need to make the community more visible was identified in #new-editor-experiences ). Users can go back to editing, or publish the translation anyways.
# Design details
If there are pending issues that have not been addressed when the user clicks "publish", a confirmation dialog will be shown with the following info:
> **Your translation still has some potential issues**
> Please, consider checking the issues before publishing. Editors reviewing your contribution will appreciate the improvements.
> [Cancel] [Publish anyway]
- "Cancel" button will go back to editing, with the issues card showing the first error expanded.
- "Publish anyway" will proceed with the publishing process.