Add the "translate page" function to the app menu
Categories
(Firefox :: Translations, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
Details
Attachments
(12 files, 3 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
The process is currently automatic, but there should be a way to trigger it manually. This is not ready to be worked on as a decision needs to be made by product and UX on this.
| Assignee | ||
Comment 1•3 years ago
•
|
||
When this is implemented, we'll need to handle the error screen for when RemoteSettings can't download the language list. Search for the TODO(Bug 1829687)
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
This was missed in a previous refactor of the mock system.
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D179080
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D179081
| Assignee | ||
Comment 5•3 years ago
|
||
This abstracts out the restricted page check. I duplicated the logic in
both the parent and the child since a later patch needs it. It also
adds another check when translating the page that we're not actually
attempting to translate a restricted page. This guards against cases
where the translation is mistakenly invoked on a page that shouldn't be
translated.
Depends on D179082
| Assignee | ||
Comment 6•3 years ago
|
||
This cleans up some duplication, especially as I refactor the type in a
following patch.
Depends on D179083
| Assignee | ||
Comment 7•3 years ago
|
||
This is a big logic change, but with switching the views and adding the
translations command to the app menu, it's much easier to invoke the
translations panel in uncontrolled situations. This patch adds a
best-effort approach to deducing an appropriate language for the user.
Depends on D179084
| Assignee | ||
Comment 8•3 years ago
|
||
This reworks how the detect language mechanism is done since the
translations panel can now be manually invoked. It makes the docLangTag
be optional. Note that this patch may not work cleanly unless run with
the next patch. The following patch aggressively reworks the panel
structure, but the detected language logic seemed worth breaking out
separately as it was a different concern.
Depends on D179085
| Assignee | ||
Comment 9•3 years ago
|
||
UX changed their mind on how the default translation panel should work.
I originally pushed back against getting this done for MVP, but the
logic is much easier when the translation panel can be manually invoked
by the user.
Depends on D179086
| Assignee | ||
Comment 10•3 years ago
|
||
This adds the translations panel to the app menu, per UX's
recommendation. The menu is hidden by default until the translations
pref is enabled.
Depends on D179087
| Assignee | ||
Comment 11•3 years ago
|
||
Depends on D179088
| Assignee | ||
Comment 12•3 years ago
|
||
Depends on D179120
Comment 13•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 14•3 years ago
|
||
Depends on D179245
| Assignee | ||
Comment 15•3 years ago
|
||
I was getting a weird intermittent locally, and I believe this was the
cause.
Depends on D179246
| Assignee | ||
Comment 16•3 years ago
|
||
Depends on D179247
Comment 17•3 years ago
|
||
Comment on attachment 9336160 [details]
Bug 1829687 - Remove duplicate ids in translations code; r?nordzilla!
Revision D179246 was moved to bug 1831963. Setting attachment 9336160 [details] to obsolete.
Comment 18•3 years ago
|
||
Comment on attachment 9336161 [details]
Bug 1829687 - Ensure new TranslationParent actors are created for each test; r?nordzilla!
Revision D179247 was moved to bug 1831963. Setting attachment 9336161 [details] to obsolete.
Comment 19•3 years ago
|
||
Comment on attachment 9336195 [details]
Bug 1829687 - Use a lazy pref getter for translations chaos mode; r?nordzilla!
Revision D179264 was moved to bug 1831963. Setting attachment 9336195 [details] to obsolete.
| Assignee | ||
Updated•3 years ago
|
Comment 20•3 years ago
|
||
Comment 21•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/817027439757
https://hg.mozilla.org/mozilla-central/rev/992a5dceac2d
https://hg.mozilla.org/mozilla-central/rev/2e0704e571cc
https://hg.mozilla.org/mozilla-central/rev/c250a62301a2
https://hg.mozilla.org/mozilla-central/rev/5bc1043fa8d7
https://hg.mozilla.org/mozilla-central/rev/6a44f24cc6be
https://hg.mozilla.org/mozilla-central/rev/661d884b2b94
https://hg.mozilla.org/mozilla-central/rev/b4848f8b0248
https://hg.mozilla.org/mozilla-central/rev/547f2bbf41bc
https://hg.mozilla.org/mozilla-central/rev/63e2eded4b91
https://hg.mozilla.org/mozilla-central/rev/bb0b94520fae
https://hg.mozilla.org/mozilla-central/rev/d5a39414ce70
Description
•