Show language-agnostic SelectTranslations context menu item when the source and target languages are the same
Categories
(Firefox :: Translations, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: nordzilla, Assigned: pranjalisrvgkp, Mentored, NeedInfo)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
Description
Currently, in the Select Translations UX flow, when the source language and the target language are the same, the context menu still displays our language-specific message: "Translate Selection to { $language }"
This can be somewhat confusing to first-time users, who may not realize that they can change the target language once the panel opens.
They may be on an English page, and see the menu item say, "Translate Selection to English" and think, "why would I want to do that?" Then, they never engage with the Select Translations Panel.
Instead, we could display our language-agnostic message: "Translate Selection…"
Even though the panel may still open to an English-to-English passthrough Translation, the user won't be confused at the message in the context menu, and hopefully it is clear once the panel opens that they can choose a new target language.
Dasha, what do you think of this UX improvement? The Fluent strings already exist, so we wouldn't need any special approval on the copy.
tl;dr
If the context for the selected-text translation were to result in a same-language translation: "English to English," "Spanish to Spanish," etc., then it might be better to show the "Translate Selection…" text rather than "Translate Selection to { $language }" to prevent confusion and increase engagement.
| Reporter | ||
Comment 1•2 months ago
|
||
I've discussed this with Dasha in Slack, and we would like to move forward with this improvement.
I also think that this would make for a Good First Bug for someone to try, so I am marking it as such and assigning myself as a mentor.
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
I would like to work on this. Can I send a patch ?
| Reporter | ||
Comment 3•2 months ago
|
||
Hi,
Yes, any new contributor is welcome to work on this.
| Assignee | ||
Comment 4•2 months ago
|
||
OK, I am sending a patch for this
| Assignee | ||
Comment 5•2 months ago
|
||
Updated•2 months ago
|
Updated•1 month ago
|
Comment 7•1 month ago
|
||
| bugherder | ||
| Reporter | ||
Comment 8•1 month ago
|
||
Hey Pranjali,
Congratulations on landing this bug.
Please feel free to join the conversation on Matrix in the #Firefox Translations.
Instructions on how to join Mozilla's Matrix server can be found here:
Note: I am requesting a "Need Info" to ensure that you are notified about this. Feel free to clear it. There is no action needed.
| Assignee | ||
Comment 9•1 month ago
|
||
Hi Erik,
Thank you so much for the kind words and support. I really appreciate it.
I have already joined the Matrix room and look forward to being part of the conversation there.
Thanks again!
Updated•11 days ago
|
Description
•