Closed Bug 1726530 Opened 3 years ago Closed 3 years ago

flatpak runme.sh locale splitting assumes language codes are 2 letters

Categories

(Release Engineering :: General, defect)

defect

Tracking

(firefox93 fixed)

RESOLVED FIXED
Tracking Status
firefox93 --- fixed

People

(Reporter: jcristau, Assigned: jcristau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/9dceacf3d761eb91237108ec438d64099a56f442/taskcluster/docker/firefox-flatpak/runme.sh#132 splits the locale by using the first two characters as langcode, which seems wrong, as it means enabling a locale like "ast" in flatpak doesn't actually result in the ast langpack getting downloaded.

A number of locales have a 3-letter language code, and by truncating
them we break automatic installation of the right langpacks.

Pushed by jcristau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8bd490d13c1 flatpak: properly extract the language code from the locale name. r=releng-reviewers,bhearsum DONTBUILD
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Thanks for fixing this!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: