Issue metadata
Sign in to add a comment
|
Chrome sometimes incorrectly determine page is in a different language and offer to translate
Reported by
bouvrett...@gmail.com,
Jul 24 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Example URL: I can only reproduce on my local development project. Steps to reproduce the problem: 1. Load a specific page 2. I get the translate popup that my page is in Portuguese (it's not its in English) What is the expected behavior? I would expect that Chrome does not propose to translate an English page. What went wrong? Chrome is detecting Portuguese somewhere in the page and I cannot figure out where exactly. I actually tried to remove part of the page and at some point it even offers to translate "English" to "English" which seems like an other bug. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 59.0.3071.115 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: In my example I use : <html itemscope itemtype=https://schema.org/WebPage lang=en-CA prefix="og: http://ogp.me/ns#"> I also use: Content-Language: en-CA I tried several fixed and the only one that had any impact was this one: <meta name="google" value="notranslate"> I do not want to prevent my page from being translate. Reading a few posts, it appears Chrome does not trust the previously used language meta data attributes/headers. I think if this is the case, Chrome should then offer a way to enforce a page's language with a new tag like this: <meta name="google" value="pagelanguage" lang="en-CA"> This would confirm that the entire page is in a given language and avoid bad language detection.
,
Jul 25 2017
Thanks For Filing the issue! Tested in chrome # 59.0.3071.115 and Canary #62.0.3166.0 on win 7 and not able to reproduce the issue.Please find the screen cast for your reference. @bouvrette.nicolas: Could you please let me know if i have missed anything and if possible,Please create new profile without extensions and apps.Re-check once and let us know the observations of the issue which would help us to triage the issue further. Thanks in Advance.
,
Jul 27 2017
I was able to reproduce with the following zip file. Simply open the html file in your browser. This is a local static page and it prompted me to translate Portuguese. I am running Version 59.0.3071.115 (Official Build) (64-bit) on Windows 10. I was also able to reproduce in an incognito tab.
,
Jul 27 2017
Thank you for providing more feedback. Adding requester "rbasuvula@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 27 2017
One last comment, I was only able to reproduce on my local environment (not the actual domain you tried). Let me know if the zip file I provided does not trigger the bug on your side and I will try to dig further.
,
Jul 31 2017
Able to reproduce the issue on Mac 10.12.6 & Windows 7 using chrome reported version#59.0.3071.115,Stable#60.0.3112.78 & Canary#62.0.3172.0 as per html file (Zip) provided in comment#3. Manual bisect info: ------------------ Good-57.0.2944.0-Revision-436816 Bad-57.0.2945.0 -Revision-437133 Per revision bisect info: ------------------------ You are probably looking for a change made after 437080 (known good), but no later than 437081 (first known bad). CHANGELOG URL: The script might not always return single CL as suspectas some perf builds might get missing due to failure. https://chromium.googlesource.com/chromium/src/+log/8cdeb8f50132914ed7a2817e982ed2e067e95ba9..3382ba03f380d3f681a84c8c8bf83bebf9ca2b7c Possible suspect: ----------------- https://chromium.googlesource.com/chromium/src/+/3382ba03f380d3f681a84c8c8bf83bebf9ca2b7c abakalov@ could you please take a look and reassign to the right owner if it is not related to your change. Note: HTML file is not loaded properly on Ubuntu 14.04 Thanks..!
,
Jul 31 2017
Thanks for reporting this. jmukthavaram@: yes, I'd be the correct owner bouvrette.nicolas@: could you: - open "chrome://translate-internals/" in a tab - load the pages triggering the mispredictions - go back to the first tab, click on "Detection Logs", "Dump" and attach the files to this bug Thanks!
,
Aug 6 2017
Sorry I just came back from vacations. I tried to eliminate some words for a few minutes but my hypothesis was something in the CSS or JavaScript was triggering this? But I'm not sure if Chrome uses this... see the Json file attached. By the way nobody mentioned anything about my suggestion to have a special tags to overwrite language? "notranslate" is a bit harsh... Thanks!
,
Aug 17 2017
,
Mar 7 2018
Are you still experiencing this issue?
,
Mar 7 2018
,
Mar 7 2018
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by ligim...@chromium.org
, Jul 24 2017Labels: Needs-Triage-M59 Needs-Bisect