BCP 47 format for locales is not recognized on top-sites collection, Remote Settings Stage
Categories
(Firefox :: Top Sites, defect, P5)
Tracking
()
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
Comment 1•4 years ago
|
||
(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 bero-RO
, the localized Firefox build being brandedro
.
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.
Updated•4 years ago
|
Description
•