Closed Bug 1863570 Opened 11 months ago Closed 11 months ago

translation button did not appear on bar when browsing a foreign site

Categories

(Firefox :: Translations, defect)

Firefox 119
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: baptiste.millemathias, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

(I want to report an issue about the translation extension, sorry if I'm mistaken)

While browsing a german site (ex: https://kancha.de/en/pages/social-impact) the button in the toolbar to suggest to translate the content never appeared.

Header transmitted

GET /en/pages/social-impact HTTP/3
Host: kancha.de
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: fr,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Referer: https://kancha.de/en/blogs/handwerker
DNT: 1

Actual results:

No button appeared in the url bar to translate the content.
Actually I found there is a menu entry in the hamburger button on the toolbar, but this is not convenient in the absence of key shortcut.

I've attach a screenshot of about:config filtered on string "translation" with only the keys modified

Expected results:

suggest to translate the page in the url bar

The Bugbug bot thinks this bug should belong to the 'Firefox::Translation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Translation

I think I found the issue, I though the heuristic to detect foreign language was to parse the content of a page, but actually not ... so
according the url (https://kancha.de/en/pages/social-impact) the page is supposed to be in english (and it contains <html lang="en">) but the content is actually in german.
I can switch to the german version (which is actually the same content) using a button I did not notice, it brings me to https://kancha.de/de/pages/social-impact (with <html lang="de">) and this time the button actually appears.

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Resolution: --- → INVALID

This is similar to bug 1859081, but it appears as the opposite problem for you.

See Also: → 1859081
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: