Page MenuHomePhabricator

[BUG] Languages names are not searchable in the device language if language is not English
Closed, ResolvedPublic

Description

Bug discovered during user testing in T192891
This appears to be a regression (the current production app finds language names in the device language)

Steps to reproduce

Pre-requisite: the device language is not English, eg., device lang=Dansk

  1. With the device language set to another langauge, eg Danish, open the app and navigate to add an app language
  2. Search to add German as as an app language, but enter the Danish name for German "Tysk".
Expected

Result shown is Deutsch / Tysk
https://phabricator.wikimedia.org/T195904

Note the production version of the app shows the expected result:

image.png (670×790 px, 88 KB)

Actual

No results. Only searching for the language in its own name "Deutsch" or in English "German" returns a result.

image.png (1×1 px, 142 KB)

Event Timeline

@RHo What is your primary *app* language when going to search the list of languages? The localized language names follow the topmost language selected in the app, not the primary device language. Are we saying that the language search should correspond to the device language, not the app language?

@RHo What is your primary *app* language when going to search the list of languages? The localized language names follow the topmost language selected in the app, not the primary device language. Are we saying that the language search should correspond to the device language, not the app language?

hi @Dbrant - Yes, since we are following the principle that the app's UI language uses the device language.

Change 436167 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Use device language, not app language, when localizing language names.

https://gerrit.wikimedia.org/r/436167

Change 436167 merged by jenkins-bot:
[apps/android/wikipedia@master] Use device language, not app language, when localizing language names.

https://gerrit.wikimedia.org/r/436167

Vvjjkkii renamed this task from [BUG] Languages names are not searchable in the device language if language is not English to j1baaaaaaa.Jul 1 2018, 1:07 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii removed Dbrant as the assignee of this task.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from j1baaaaaaa to [BUG] Languages names are not searchable in the device language if language is not English.Jul 2 2018, 3:20 PM
CommunityTechBot closed this task as Resolved.
CommunityTechBot assigned this task to Dbrant.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.