mozilla / standards-positions

https://mozilla.github.io/standards-positions/
Mozilla Public License 2.0
638 stars 69 forks source link

Locale Extensions #844

Closed ben-allen closed 7 months ago

ben-allen commented 1 year ago

Request for Mozilla Position on an Emerging Web Specification

Other information

On the Web platform, content is localized dependent only upon a user's language or region. However, this behavior can result in annoyance, frustration, offense, or even uninteligibility for some users.

Some example situations:

In the native environment these problems do not occur, since users can specify these desired customizations in their system settings. However, the full amount of flexibility allowed for in the native environment is not possible in the potentially hostile web environment. This proposal defines a mechanism for making a limited subset of the Unicode Extensions for BCP 47 available for content negotiation, providing options that address some of the worst problems with incomplete localization while only exposing coarse-grained data about the users who take advantage of these improvements.

Read the complete Explainer Slide deck about Locale Extensions

Feedback

I welcome feedback in this thread, but encourage you to file bugs against the Explainer.

ben-allen commented 1 year ago

@dminor @hsivonen Would love to hear if this seems like a reasonable strategy to you!

ben-allen commented 1 year ago

I've made substantial revisions to this proposal, which are reflected in the new explainer. I'd love to hear your feedback! @dminor @hsivonen

dminor commented 1 year ago

Hi Ben, we're discussing this internally and we hope to get you feedback soon.

ben-allen commented 1 year ago

Here's the slideset from a talk at TG2 on the proposal as stands.

hsivonen commented 7 months ago

Sorry about the delay. Here's my review:

Proposed position: negative.

The use cases have legitimacy, but it's not clear that the importance of the use cases overrides other concerns: primarily fingerprintability and, secondarily, reconciling in implementation the relative role of browser and operating system given that the browser language may not be coupled with the OS language and that operating systems do not consistently provide UI surface for these settings. Third, if we were to expose this information, we should consider if a HTML+CSS-based declarative solution makes more sense, particularly for numbering systems, hour cycle, dates rendered according to a calendar, and amounts with units.

Additional Notes: