Closed Bug 1667813 Opened 4 years ago Closed 4 years ago

Check if the locale is supported before requesting the remote l10n files

Categories

(Firefox :: Messaging System, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: nanj, Assigned: nanj)

Details

Attachments

(1 file)

RS has noticed the HTTP 404 errors in their system, particularly for the "jp-JP" and "und" locales. Those are not defined in the supported locales. We should check that before making the RS requests.

Priority: -- → P2

Confirmed with :flod, there is no API to fetch the locales from the all-locales list. We need to hardcode it for now to do the locale checking.

Also, :flod mentioned that und is commonly found on linux, and recommended using en-US as the fallback for it.

Assignee: nobody → najiang
Pushed by najiang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9020c7c0a3b6 Check if locale is supported before requesting for remote l10n r=andreio
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: