Closed Bug 1675752 Opened 4 years ago Closed 4 years ago

BCP 47 format for locales is not recognized on top-sites collection, Remote Settings Stage

Categories

(Firefox :: Top Sites, defect, P5)

Firefox 83
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox82 --- disabled
firefox83 --- wontfix
firefox84 --- affected

People

(Reporter: phorea, Unassigned)

References

(Blocks 2 open bugs)

Details

On Remote Settings STAGE, top-sites collection, the locales to be included/excluded are documented to use BCP47 format.
However, BCP 47 format is not recognized when setting some locales: for example RO locale, for which the BCP47 would be ro-RO, the localized Firefox build being branded ro. Additionally, seems that the locale field is also key sensitive, which would enable ro to work, but RO not to work.

It might be a common mistake setting wrong locale when attempting to exclude/include a locale.

Suggested severity: S3

(In reply to Petruta Horea [:phorea] from comment #0)

On Remote Settings STAGE, top-sites collection, the locales to be included/excluded are documented to use BCP47 format.
However, BCP 47 format is not recognized when setting some locales: for example RO locale, for which the BCP47 would be ro-RO, the localized Firefox build being branded ro.

While ro-RO is valid according to BCP 47, so is ro.

Afaik, we currently don't plan on using locale filtering. If we do at some point, it seems that we'll just have to know the exact locale strings being used in localized builds; it's not clear to me that something needs to change here.

Severity: -- → N/A
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.