fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Browser language matching Android system settings

Open st3fan opened this issue 7 years ago • 4 comments

Why/User Benefit/User Problem

As a User I want to use Fenix in the same language I use for my device. I want Fenix to follow the language settings that I have chosen in the Android system settings.

What / Requirements

  • TBD Determine the list of locales that Fenix MVP will support.

Acceptance Criteria (how do I know when I’m done?)

The Fenix UI appears in the user's locale. If the system locale is not supported by Fenix, then Fenix appears in English.

┆Issue is synchronized with this Jira Task

st3fan avatar Mar 11 '19 15:03 st3fan

This should happen automatically, but we'll want QA to validate it. Switching system locale on Android is a configuration change, so it'll force all activities to restart and re-draw unless someone forces special handling.

colintheshots avatar Mar 11 '19 15:03 colintheshots

@cpeterso do we have a GV API for this?

vesta0 avatar Apr 11 '19 19:04 vesta0

do we have a GV API for this?

No. We should make Gecko's Accept-Language HTTP header automatically detect the system language settings or add a GV API for the app to set the Accept-Language values.

I filed a new GV bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1543823. I don't think this Gecko or GV bug needs to block Fenix MVP because many websites select a content language using GeoIP instead of the browser's Accept-Language HTTP headers. This is a frustrating fact of life for people traveling to different countries getting served web content in the local language even though their browser clearly tells the website they want, say, en-US.

Fenix can update its app UI's language to match the system language settings without a GV API.

cpeterso avatar Apr 11 '19 21:04 cpeterso

Verified with Deutsch, Fenix successfully manages to swap between en and de. If the selected language is not supported/implemented in Fenix the default fallback language is en.

bsurd avatar Apr 18 '19 12:04 bsurd