New issue
Advanced search Search tips

Issue 824744 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Language of the browser is not updated according to the device language

Project Member Reported by pnangunoori@chromium.org, Mar 22 2018

Issue description

Chrome Version: 66.0.3359.46
OS: Android 8.1.99, Build/PPR1.180315.002
Android Devices: Pixel XL, Pixel

What steps will reproduce the problem?

(1) Launch Chrome.
(2) Observed that all the content is displayed in English.
(3) Change the device language to "Telugu" - Indic language.
(4) Launch Chrome.
(5) Observe that content some related to 'Placeholders' is still displayed in Hebrew.

At the same time Chrome Stable and Chrome Canary, similar text is displayed in English and no more Hebrew content is displayed.

What is the expected result?
Place holder text is displayed in Telugu. 

What happens instead?
Place holder text is still displayed in Hebrew.

Note:

> Place holder text is displayed in English in Chrome #60.0.3072.0, Chrome Stable #65.0.3325.109, Canary #67.3378.0, Beta #66.0.3359.46
> Filing this issue as a part of IME testing.
> This seems to be a Non-Regression issue as same behavior is seen since M60.  Untriaged for further input's on this issue.

**********************************************************************

> Other similar issue noticed only if installed using adb command:

Prerequisite - 
> Install Chrome #66.0.3359.46 using adb command. (adb install XXX)
> Device language is set to Hebrew.

(1) Launch Chrome.
(2) Observed that all the content is displayed in RTL format.
(3) Change the device language to "Telugu" - Indic language.
(4) Launch Chrome.
(5) Observe that content some related to 'Placeholders' is still displayed in Hebrew.

> However, the same issue is not seen form Beta #66.0.3359.46, Canary #67.0.3378.0 (Equivalent builds downloaded from Playstore). Even after closing all tabs and killing app from background will not change the behavior.
> This issue is observed on M-60 #60.0.3072.0 as well.

Thanks!

 
Please navigate to below link for log's and screen cast--
go/chrome-androidlogs/824744
Owner: agrieve@chromium.org
Status: WontFix (was: Untriaged)
Android doesn't ship with Telugu:
https://cs.chromium.org/chromium/src/build/config/locales.gni?type=cs&q=%22pt-PT%22+locale&l=17

Therefore, we should be failing back to your secondary language, which was Hebrew in the video.  Thus, this looks correct behavior.

Maybe we should be telling people their default language isn't supported, but that would be a feature request.

I'll send this over to agrieve@ just to verify, but closing this out unless he says otherwise.
tedchoc@ -- Could you also please look into the issue which we are observing while installing Chrome via adb command. Where placeholders translation doesn't adhere with device language.
What placeholders are you referring to?  Chrome doesn't ship any Telugu translations as far as I can tell, so I'm not seeing why the adb case is any different (unless we were previously shipping half translations for the language or something).  This is where I'll defer to agrieve@
tedchoc@ -- When OS language is changed from Hebrew to Telugu, content displayed in Chrome should update to English at least. But, it still shows in Hebrew. Request you to look at the screen cast provided for the actual behavior noticied - go/chrome-androidlogs/824744


Thanks!
Status: Assigned (was: WontFix)
Reopening this issue as per C#5.
Watched the screencast. I *think* what I saw near the end is that if you swipe chrome away, then re-open, then it properly falls back to english. Is this correct? 

If so, then I think there must be a bug in that we're not noticing the locale change event.
agrieve@ -- Thanks for looking into this issue.

In the screen cast provided:
Chrome Dev is the build installed using adb command and you see the actual issue, i.e. even after updating the device language to Telugu, content in the browser is displayed in Hebrew. At least it should be updated to English. And, layout is still seen RTL (Eg.: Tab switcher and Chrome menu buttons are still displayed towards left side of omnibox, it is supposed to be displayed towards right)

Where as for the Canary build(downloaded from Play Store) - As soon as the device language is updated from Hebrew to Telugu, text within the Chrome is updated to English along with the layout changed to LTR.
Gotcha - okay, so video shows at the end Chrome Dev being swiped away and re-opening still with the wrong language.
Just went through the scenario with a local build, and I think the behavior is actually working as intended. When you switch from:
#1 - Hebrew, #2 = Telugu, #3 = English
to:
#1 - Telugu, #2 = Hebrew, #3 = English

Chrome detects Telugu is unsupported, so falls back to #2 (staying in Hebrew).

If you then switch to:
#1 - Telugu, #2 = English, #3 = Hebrew

Then Chrome switches to English.

If you observe the screencast from the link - go/chrome-androidlogs/824744

Canary build installed from Play store was able to adapt to the language and switched to English and layout is updated to LTR.

And the equivalent build (Dev build seen in the screencast) struck with Hebrew and layout is still RTL.

Thanks!

I think the behavior of the dev build is the correct one, and it's what I saw on my local build. Maybe the Canary you tested had a bug where it switched to English when it shouldn't have, and it's now fixed?

Sign in to add a comment