Remove unnecessary language code mappings in Fenix after we target Android 15
Categories
(Firefox for Android :: Settings, task, P3)
Tracking
()
People
(Reporter: mcarare, Assigned: mcarare)
References
Details
After investigations in https://bugzilla.mozilla.org/show_bug.cgi?id=1903570 it seems we won't need to map some languages manually anymore.
Official documentation:
Changes to language code handling: When using the Locale API, language codes for Hebrew, Yiddish, and Indonesian are no longer converted to their obsolete forms (Hebrew: iw, Yiddish: ji, and Indonesian: in). When specifying the language code for one of these locales, use the codes from ISO 639-1 instead (Hebrew: he, Yiddish: yi, and Indonesian: id).
https://developer.android.com/about/versions/15/behavior-changes-15#openjdk-17-changes
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Once again the docs are wrong. On devices with Android < 15 the old language codes are used, even if we target Android 15, so we still need the mappings.
Description
•