New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 827339 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Translate doesn't work for text inside a Shadow DOM

Project Member Reported by n...@chromium.org, Mar 29 2018

Issue description

Chrome Version: M65
OS: Mac (but all)

What steps will reproduce the problem?
(1) Go to http://output.jsbin.com/dihunup (code: http://jsbin.com/dihunup/edit?html,output) and translate from French to English 

What is the expected result?
All the text should be in English.

What happens instead?
Only the text that's not outside of the shadow root gets translated. (see screenshot)

 
Screen Shot 2018-03-29 at 2.24.24 PM.png
81.1 KB View Download

Comment 1 by kochi@chromium.org, Apr 2 2018

Cc: tkent@chromium.org
Status: Available (was: Untriaged)
Autofill had the same issue at bug 746593.

The new API (for browser process) introduced at
https://chromium-review.googlesource.com/c/chromium/src/+/945550
would help.

Can anyone in Translate team can take a look at how it traverses DOM tree?

Comment 2 by kochi@chromium.org, Apr 2 2018

Labels: -Pri-3 Pri-2

Comment 3 by nophoff@google.com, Apr 23 2018

Hi - this bug was reported a month ago, and my client (@ Google Cloud) has identified this as a roadblock. Can someone provide a status update? Thanks.

Comment 4 by kochi@chromium.org, Apr 24 2018

Cc: yyushkina@chromium.org
Owner: anthonyvd@chromium.org
Status: Assigned (was: Available)
anthonyvd@, can anyone in translate team triage and work on this?

Thanks for bringing this up, I'll chat with the autofill team to see if a similar solution applies to Translate.

In an effort to help set realistic expectations: I *just* took over the Chrome Language team and I'm currently the only engineer. Because of this, I can't commit to a timeline on this but I'll make sure to take a look when I'm back from vacation.

Sign in to add a comment