In the settings, the menu to translate the site on load is set to appear, but the menu is not displayed
Categories
(Firefox for Android :: Translations, defect)
Tracking
()
People
(Reporter: emanuellclaudiu, Assigned: royang, NeedInfo)
References
Details
(Whiteboard: [fxdroid][group3])
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Android 10; Mobile; rv:142.0) Gecko/142.0 Firefox/142.0
Steps to reproduce:
The translation menu does not automatically appear on the site for translation, even if the setting is enabled. Even when you set a language to be automatically translated, it does not translate automatically.
| Reporter | ||
Updated•8 months ago
|
Comment 1•8 months ago
•
|
||
The translation menu does not automatically appear on the site for translation, even if the setting is enabled.
Did this change happen recently? I understand the behavior recently changed on bug 1970084. It looks like is now gated by isLargeWindow().
What is the device type you are on and model? I can confirm a Pixel 4a (14) 142 Nightly (dimensions) does not show the translations icon on a page that would have offered an icon on the toolbar in the past.
Comment 2•8 months ago
•
|
||
Even when you set a language to be automatically translated, it does not translate automatically.
Would you mind to provide your intl.accept-languages list from about:config or OS Settings -> Languages -> System Languages language list? This can sometimes happen when the page target language and an accept language are the same. I'd have to know the full language setup to debug, though.
(The issue could just be something going on with accept-languages instead of bug 1970084, because it also impacts how "translation offers" occur. Harder to say off-hand now, however.)
| Reporter | ||
Comment 3•8 months ago
|
||
I have seen this error on 3 phones: Samsung Galaxy G82, a Redmi and a Moto. Here the behavior is different, the automatic translation language selection menu does not appear at all, with the option active, I noticed that the translation icon was removed from the toolbar. I've changed the languages in all modes, in the app, etc., still nothing changes. I only noticed one thing, when I modify intl.accept-languages and reset it and have it automatically translate, for example, English into Romanian, it gets translated.
Comment 4•8 months ago
|
||
Thanks for the information!
I only noticed one thing, when I modify intl.accept-languages and reset it and have it automatically translate, for example, English into Romanian, it gets translated.
Sounds like the same root cause as in bug 1948445. (I'm haven't 100% confirmed if that is the case, so I'm not yet going to mark this one as a duplicate of that one. Especially since the impact here is slightly different than in that bug populating v. automatically translating.)
It boils down to GeckoView having different expectations around intl.accept_languages than Desktop.
From bug 1948445 comment 11:
If it has been changed from the default, and English is still in the list, then we have to assume at that point the user kept English there intentionally.
The bug is in GeckoView, it looks incorrectly to the system like English was intentionally added as a user pref to intl.accept_languages because the way it was sent. Because of that, it assumes the user would like English to be a "translate to" language and it causes odd behavior.
| Assignee | ||
Comment 5•8 months ago
|
||
Updated•8 months ago
|
Comment 6•8 months ago
|
||
Comment on attachment 9499253 [details]
Bug 1975878 - Always initialize translations binding regardless of whether the translations page action is present.
Revision D256478 was moved to bug 1976032. Setting attachment 9499253 [details] to obsolete.
Updated•8 months ago
|
| Reporter | ||
Comment 7•7 months ago
|
||
I hope this error will be fixed soon.
Updated•7 months ago
|
| Assignee | ||
Comment 8•7 months ago
|
||
Fixed landed in Bug 1976032 and is in Beta and Nightly. Uplift to release was just accepted and will be in the next dot release. Thanks
| Assignee | ||
Updated•7 months ago
|
Comment 9•7 months ago
|
||
Even when you set a language to be automatically translated, it does not translate automatically.
This is a different bug and is likely bug 1948445.
| Reporter | ||
Comment 10•7 months ago
|
||
(In reply to Olivia Hall [:olivia] from comment #9)
Even when you set a language to be automatically translated, it does not translate automatically.
This is a different bug and is likely bug 1948445.
Yes, this is a separate error that needs to be resolved.
Comment 12•7 months ago
|
||
Bug 1948445 is being tracked by the GV team, which should improve the automatic translations experience.
UX and product partners are looking at alternatives on how to present translations as a feature.
| Reporter | ||
Comment 13•7 months ago
|
||
It will need to be resolved as soon as possible, because in the address bar, toolbar, the translation button is no longer available and it is difficult to go to the menu every time and click on translation.
| Reporter | ||
Comment 14•5 months ago
|
||
(In reply to Olivia Hall [:olivia] from comment #12)
Bug 1948445 is being tracked by the GV team, which should improve the automatic translations experience.
UX and product partners are looking at alternatives on how to present translations as a feature.
Any news about resolving this error?
| Assignee | ||
Comment 16•1 month ago
|
||
| Assignee | ||
Comment 17•1 month ago
|
||
:eclaudiu64 Looks like it's resolved from my testing. Do you not see it at all or just that particular site? Can you please try other sites as well to double check? Thanks
| Reporter | ||
Comment 18•1 month ago
|
||
(In reply to Roger Yang [:royang] from comment #17)
:eclaudiu64 Looks like it's resolved from my testing. Do you not see it at all or just that particular site? Can you please try other sites as well to double check? Thanks
It doesn't work on any site for me, no automatic menu appears for translation. I also encounter it on Android 10 and Android 15 and 16. I think the error is not resolved for multiple languages, I don't know.
| Assignee | ||
Comment 19•1 month ago
|
||
That's strange. I'll keep this issue open and add it to our backlog for investigation. In the meantime, can you please try toggle the "Always offer to translate" switch off and on? Just in case it's some weird state. Thanks
| Assignee | ||
Updated•1 month ago
|
| Reporter | ||
Comment 20•1 month ago
|
||
(In reply to Roger Yang [:royang] from comment #19)
That's strange. I'll keep this issue open and add it to our backlog for investigation. In the meantime, can you please try toggle the "Always offer to translate" switch off and on? Just in case it's some weird state. Thanks
I tried turning it off and on and it still doesn't show up. I also downloaded the languages and still nothing. I have 2 phones with the same model and on one I see the translation menu showing up and on the other phone not displayed.
Comment 21•1 month ago
•
|
||
I only noticed one thing, when I modify intl.accept-languages and reset it and have it automatically translate, for example, English into Romanian, it gets translated.
Do you mind sharing what is in the intl.accept-languages list from about:config? Some of the things you've said make me continue to think this is a form of bug 1948445.
I have 2 phones with the same model and on one I see the translation menu showing up and on the other phone not displayed.
Could you check the system language settings between the two phones? Something like: OS Settings -> Languages -> System Languages. Multiple languages in a specific order are also an option.
Part of how we guess at languages a user knows is based on this list. We don't automatically offer to translate in situations where our best guess is that the user will want to read the page as-is. We also have difficulty determining the "Translate to" language for the same reasons.
If the icon isn't showing up at all, even deep in the menus, then this is a separate issue we can talk about too. (Translations are only supported on devices of a certain architecture (generally speaking, aarch64) that supports WASM.)
Updated•1 month ago
|
Updated•1 month ago
|
| Reporter | ||
Comment 22•1 month ago
|
||
I'm back with a detail that reproduces the error. When I have multiple languages to select in the phone's language list in the phone settings, the automatic translation panel also appears. When I leave only my language in the list and delete the other language from the list, the translation panel automatically appears on websites.
Comment 23•1 month ago
|
||
Thank you for the details, this is all very helpful!
| Reporter | ||
Comment 24•1 month ago
|
||
So the error is reproduced when I have many languages listed in the phone settings, then the translation panel does not appear.
Description
•