When users are creating a new page, we want to let them know that translating is an alternative. We want to support an invite that adapts to two different circumstances:
- Provide a specific suggestion to translate the article the user tries to create (when we are able to find a suggestion for it)
- Providing a general invite to try Content translation (only once, to introduce the tool).
|Generic invite|Specific invite|
|---|---|
|{F30282989, size=full}|{F30282992,size=full}|
Details for each version are based on the original tickets (T216032, T216500), but detailed below for additional clarity:
**Common aspects for both versions**
- **Not getting in the way of the default action.** The invite is shown at the bottom of the viewport to avoid covering the main information of the page.
- **Shown only to multilingual users.** Based on {T223888}, show the invite only to users that have accessed more than one language.
- **Access to the settings.** A cog icon provides access to the user preferences to allow users to disable the entry points.
- **Don't show if it is the very first time for the user in the editor**. The first time the user access the editor other welcome messages and tutorials appear and we don't want to interfere with those.
- A cog icon provides access to the preferences (T223896) as a way to disable entry points if needed. Note that the settings are only available for wikis where the tool is available as default (i.e. out of beta).
**Generic invite**
- **Shown only once.** Once the user replied once (accepting or closing) to a previous invite (generic or specific), the user will not see the generic invite again for any other language.
- **Don't show to existing Content translation users.** If the user has ever started a translation they already know the tool and we don't need to show the invite.
**Specific invite**
- The specific invite is shown only when there is a page to suggest, even if it was shown before for other pages. Note that other conditions from the first section above also apply (i.e., the user is likely to be multilingual, not the first time in the editor, etc.).
- Clicking on the suggestion will lead to the Translation dashboard with the translation information pre-filled. Ready for the user to confirm and start to translate.
- The "Find another page to translate" option will lead the user to the translation dashboard with the new translation dialog open for the user to search for an article to translate.
- We may want to filter out disambiguation pages, not showing them as a suggestion.