Posts from May, 2014

Language switching in Nightly for Android

Aaron Train

As Jeff Beatty describes, language switching in Nightly is now available. Ultimately, this linguistic enhancement allows one to select from all officially shipped localizations from within the browser independent from available language selection provided by Android. As Jeff calls out, “Languages no longer have … Continue reading

Language Switching in Fennec

Aaron Train

As Jeff Beatty describes, language switching in Nightly is now available. Ultimately, this linguistic enhancement allows one to select from all officially shipped localizations from within the browser independent from available language selection provided by Android. As Jeff calls out, “Languages no longer have to be among the list of Android supported languages to become official localizations of the browser.”

Firefox for Android QA is looking for help from others for discovering issues found when trying this feature out.

The developer of the feature, Richard Newman, calls out the following to look for in Bug 917480 when testing this feature on Nightly:

Note: the option to control this is in Menu > Settings > Language > Browser language

  • Nightly should obey one’s selection as their preferred Android system-provided language. Firefox has obeyed this in previous and current releases

  • Nightly should use one one of the languages we ship, regardless of system language

  • Testing this feature involves verifying that a change is immediately applied, and that all entry points into the application reflect the selected language

  • Entry points to check:
    — Data reporting notification. This launches Settings in the “Mozilla” section. Titles should be correct: on tablet, for example, you should see “Settings” in the top left, and “Mozilla” as a heading. You only get this on first run, so you’ll need to Clear Data to get back to a clean slate and test this out
    — Launching the browser. Top sites should be in the correct language, as well as other UI elements
    — Clicking a link from another application
    — Installable Firefox Market Web applications

Other areas affected by language change:

  • Sync settings when accessed via Nightly and via Android Settings > Accounts & Sync > Firefox

  • Sent tabs from other devices: the launched notification should be in the last language you picked

Notes of interest:

  • Language selection changes should be persistent across browser sessions and restarts

  • All chrome content, such as error pages should be in the correct selected language

  • Setting the browser language has the side effect of changing your Accept-Language header. You should get pages in non-phone languages sometimes; depends on the site

  • Verify that switching to Android Settings and changing the system language does the right thing if “System default” is selected, and does the different right thing if a specific language is selected

If you discover any issues, please file a bug on Bugzilla

References:

Bug 917480

Try it out on Nightly today

Continue reading