Fenix: [Bug] Private mode's homescreen is not translated in Spanish on Android 5&6

Created on 27 May 2020  ·  4Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Go to Settings and change the language to Spanish.
  2. Go to the private mode and observe the homescreen.

Expected behavior

The private browsing homescreen is translated in Spanish.

Actual behavior

The private browsing homescreen is in English.

Device information

  • Android device: Samsung Galaxy Tab A6 (Android 5.1.1), OnePlus A3 (Android 6.0.1)
  • Fenix version: Beta 5.1.0-beta.2, 5/27 Nightly build
  • Not reproducible on Samsung Galaxy Note 8 (Android 9), Google Pixel 4 XL (Android 10), Samsung Galaxy Tab S3 (Android 8)

spanish

HomeScreen S2 🌐 L10N 🐞 bug

All 4 comments

@softvision-miralobontiu I suppose you have chosen Español from the languages list (Without any region). The problem is actually that strings.xml (es) does not have the new string translated. For newer android versions the mechanism of finding the "BestMatch" for a string includes a fallback to that language but for another region, instead of choosing the default (English in this case) translation. This is not something we can straightforwardly fix in code, but it will be fixed as soon as a translation is available for this string.

Having said that, taking a look at the string.xml (es) I see that it is missing almost half of the translations. @Pike do you know how this happens? Translations for es-rAR, es-rCH and even es-rES are more complete. How should we handle this?

Having said that, taking a look at the string.xml (es) I see that it is missing almost half of the translations. @Pike do you know how this happens? Translations for es-rAR, es-rCH and even es-rES are more complete. How should we handle this?

Redirecting this question to @gueroJeff, who's doing the PM work for mobile while D is out.

Picking up the ball now that I'm back.
I don't think we should be testing locales this way. Please refer to my comment here for more info: https://github.com/mozilla-mobile/fenix/issues/11362#issuecomment-665822106

I did not reproduce this anymore on neither of the builds: 1/4 Nightly build, Beta 85.0.0-beta.4 or RC 84.1.2 with Samsung Galaxy Tab A6 (Android 5.1.1).
I'll close this issue.

Was this page helpful?
0 / 5 - 0 ratings