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

Issue 648715 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
User never visited
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Help App bug with language support

Project Member Reported by weifangsun@chromium.org, Sep 20 2016

Issue description

Migrated from b/31624064

See: https://screenshot.googleplex.com/fswS9Js6FPy.png

Two issues which need to be investigated include -
1. Headers in the articles are not properly localized.
2. Left navigation bar does not support the length of the translated topic strings

 
Status: Assigned (was: Untriaged)
Cc: -morsed@chromium.org weifangsun@chromium.org
Labels: M-55
Owner: morsed@chromium.org
Next steps:
- Investigate where the language translation is occurring in the code

Comment 3 by morsed@google.com, Sep 26 2016

Not doubting original screenshot, but cannot duplicate.  Need more info about issue from reporter.  

Tested both "Spanish" and "Spanish - Latin America" on the following two machines:

ASUS Flip

Google Chrome	53.0.2785.129 (Build oficial) beta (32 bits)
Revisión	173b700f954facecc7ce070e8acffe9387950200-refs/branch-heads/2785@{#910}
Plataforma	8530.90.0 (Official Build) beta-channel veyron_minnie

Pixel 

Google Chrome	54.0.2840.24 (Official Build) beta (64-bit)
Revision	0
Platform	8743.25.0 (Official Build) beta-channel link


Screenshots attached.  Note the differing text lengths in left sidebar for two versions of Spanish.
Flip-Spanish_Screenshot 2016-09-26 at 16.07.28.png
73.2 KB View Download
Flip-SpanishLatinAmerica_Screenshot 2016-09-26 at 16.11.35.png
77.1 KB View Download
Pixel-Spanish_Screenshot 2016-09-26 at 16.17.22.png
219 KB View Download
Pixel-SpanishLatinAmerica_Screenshot 2016-09-26 at 16.19.35.png
220 KB View Download
@morsed: I've gone back to the reporter and obtained steps to reproduce (version M53). It looks like this might have something to do with syncing information for languages online given the WiFi step.


Here are the steps to reproduce:
- Chrome OS is displayed in English.
- Login to Chrome OS.
- Disable WiFi.
- Change language to Spanish. Log out to enable language change.
- Login to Chrome OS.
- Open help center.
This appears to happen when going from ENG to SPA but not the other way around. I tried it by switching from English to German and got a similar problem. Going online and reopening the help center solves the issue.
Labels: -M-55 M-56

Comment 6 Deleted

Comment 7 by morsed@google.com, Nov 17 2016

Status: Started (was: Assigned)
Still troubleshooting, but it appears that the wrong field is being called for article titles.  It seems that the universal internal article "name" is being called for OFFLINE articles caches in ChromeOS, and that doesn't get translated.  Another field, "title" or "web page title" does get translated.  Attaching screenshots from gKMS and Redwood for reference. 
gkms-articletitle.webp
128 KB View Download
redwood-articletitle.webp
168 KB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, Dec 12 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-assets/+/c5eebcf906bfd53517e19f32bcb4a2054383a962

commit c5eebcf906bfd53517e19f32bcb4a2054383a962
Author: David Morse <morsed@google.com>
Date: Fri Dec 09 03:37:28 2016

Project Member

Comment 9 by bugdroid1@chromium.org, Dec 12 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-assets/+/c5eebcf906bfd53517e19f32bcb4a2054383a962

commit c5eebcf906bfd53517e19f32bcb4a2054383a962
Author: David Morse <morsed@google.com>
Date: Fri Dec 09 03:37:28 2016

Project Member

Comment 10 by bugdroid1@chromium.org, Dec 12 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-assets/+/c5eebcf906bfd53517e19f32bcb4a2054383a962

commit c5eebcf906bfd53517e19f32bcb4a2054383a962
Author: David Morse <morsed@google.com>
Date: Fri Dec 09 03:37:28 2016

Comment 11 by morsed@google.com, Dec 23 2016

Labels: -M-56 M-57
Project Member

Comment 12 by bugdroid1@chromium.org, Dec 25 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-assets/+/8821b3c672bd60988b4ad6b51e65408cd35a615b

commit 8821b3c672bd60988b4ad6b51e65408cd35a615b
Author: David Morse <morsed@google.com>
Date: Fri Dec 23 02:48:21 2016

Comment 13 by morsed@google.com, Dec 27 2016

Labels: Merge-Request-56
We have translations now for this bug and  crbug.com/666157 .  They landed in M57 (9121.0.0/57.0.2962.0), and I'd like to merge them back to M56.  No new code.  See https://chrome-internal-review.googlesource.com/#/c/314177/ 

Comment 14 by dimu@chromium.org, Dec 27 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)

Comment 15 by morsed@google.com, Dec 28 2016

@weifang: This is essentially two different issues.  The first is in the process of being fixed.  The second requires more thought and should be broken off into it's own ticket if it is to be pursued further.  

1. For the record, the solution for these offline article titles was whitelisting the "question" field in google3/googleclient/chrome/chromeos_genius/tools/download_content.py.  The call for article JSON had been relying on the "name" field, which is just the name of the article for gKMS content editors, which is always in English and is never translated.  "Question" is the translated article title in Support Content API.  [Incidentally, when Get Help back-end is migrated to newer API (support.google.com) from the old (googleapis.com), "title" will be the name of article titles, not "question".] 

2. Left topic sidebar was built to provide ellipses when topic name was too long to fit the space as originally designed (this does happen in some translations).  It is working as intended and is not a bug.  Shorter custom translations can be requested from the Translation Console if it is important to find text that does not require truncation, assuming appropriate shorter translations are possible for whichever languages currently require ellipses. Alternately, the app could be redesigned with a wider left topic sidebar, but that would be a larger scope of work: assessing why the currently app widths were chose, discovery on current limitations and options regarding display of ChromeOS apps, tweaking app for new widths, and then thorough testing across a variety of devices.  
Project Member

Comment 16 by sheriffbot@chromium.org, Jan 2 2017

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
@morsed - Thanks for the details! I will keep #2 in mind as we plan for future Help App updates and log a separate bug as needed.
Project Member

Comment 18 by sheriffbot@chromium.org, Jan 5 2017

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 19 by morsed@google.com, Jan 18 2017

Labels: -Hotlist-Merge-Approved -Merge-Approved-56
Status: Fixed (was: Started)
1: On Headers in the articles, mergeback to M56 with new translations for titles showed conflicts and would have required manual editing of 100+ files, so mergeback abandoned.  It was only a nice to have anyway. 

2: Ellipses issue addressed in comment above and should be filed as a separate ticket if an update is desired. 
Status: Verified (was: Fixed)

Sign in to add a comment