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

Issue 833974 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Team-Security-UX



Sign in to add a comment

Web push permission prompt not translated

Project Member Reported by zea@chromium.org, Apr 17 2018

Issue description

Running current canary: 67.0.3396.3
Android version: 8.1.0 Pixel 2 XL

See screenshot (Android language settings are set to Spanish). I would expect the "Wants to send notifications" text to be in Spanish.
 
Screenshot_20180417-112931.png
638 KB View Download
Cc: -emilyschechter@chromium.org
Components: -UI>Browser>Permissions>Prompts UI>Localization
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Labels: FoundIn-66 FoundIn-67 Triaged-Mobile FoundIn-68
Status: Untriaged (was: Unconfirmed)
Tested the issue using #67.0.3396.3 on 8.1.0 Pixel 2 XL and could reproduce the issue as per the steps mentioned below.

Steps:
1. Launched Browser
2. Changed to Phone language to Spanish
3. Navigated to www.gamespot.com
4. Observed Permission bubble text is seen in English

Note:
1. Location permission bubble is seen in Spanish on navigating to Baidu.com
2. Untriaging for further inputs on this issue.

Thanks!!
Components: -UI>Localization UI>Browser
Labels: Needs-TestConfirmation
Hi,

This window is for chromium bug reporting. I can see that this is not a chromium bug issue. It is more on a website localization issue.

Please confirm.

Regards!

Comment 5 by zea@chromium.org, Apr 20 2018

The website does not control the language of control of that prompt. That's a browser prompt for permission, and should be localized by the browser.
Components: UI>Browser>Permissions>Prompts
Components: UI>Localization
Per #5, add back localization component label
Labels: -Pri-3 Pri-1
Also bump up priority since it is impacting the comping stable.
Status: Available (was: Untriaged)
Components: -UI>Localization
Hi,

This window is for chromium bug reporting. UI>Browser has been added, please do not add UI>Localization on this bug.

to zea@chromium.org/jialiul@chromium.org, you can file a bug through buganizer tool.

Regards!

Comment 11 by zea@chromium.org, Apr 30 2018

Re #10 I'm confused by your comment. Why is UI>Localization not appropriate here? The text in question is not localized properly.
Components: UI>Localization
For reference, I think this is IDS_NOTIFICATIONS_INFOBAR_TEXT, with translation ID 5426179911063097041. It is definitely a translation issue in Chromium. Please leave the UI>Localization component per the Translation Issue template until we triage this otherwise.

Looking at current source, there does appear to be a translation for that string:

<translation id="5426179911063097041"><ph name="SITE" /> quiere enviarte notificaciones</translation>

Is it possible that a build was missing some portions of the generated GRD file for Spanish? Can we reproduce this or a newer Canary?




Testing this in M68 Canary on Android 8.1.0 the correct Spanish translation appears. Additionally, the correct translation appears on M66 Stable on Android 8.1.0 for me. Maybe this was an isolated build of M67 that had an incorrectly generated Spanish GRD file?

sandeepkumars@ Were you able to reproduce this in M68? Have we tested it in different builds of M67?
Status: Fixed (was: Available)
Today I was able to test this on Android Chrome Dev 67.0.3396.29 and was unable to reproduce, which makes it seem more likely that this was a build issue.

Looking at https://chromium.googlesource.com/chromium/src/+/c2d73c6324eb2309513d140d9dd2d2de2ea9e8e7%5E%21/#F177 (the diff for generated_resources_es.xtb for the 67.0.3396.29 release), it looks like the translated string was added back in, but had previously been missing.

Closing this as Fixed since I think it's just a transient build error, but feel free to re-open if the problem is broader.

Sign in to add a comment