Language of the browser is not updated according to the device language |
|||
Issue descriptionChrome 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!
,
Mar 22 2018
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.
,
Mar 22 2018
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.
,
Mar 22 2018
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@
,
Mar 23 2018
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!
,
Mar 23 2018
Reopening this issue as per C#5.
,
Mar 29 2018
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.
,
Mar 29 2018
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.
,
Mar 29 2018
Gotcha - okay, so video shows at the end Chrome Dev being swiped away and re-opening still with the wrong language.
,
May 11 2018
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.
,
May 11 2018
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!
,
May 11 2018
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 |
|||
Comment 1 by pnangunoori@chromium.org
, Mar 22 2018