Closed romulocintra closed 9 months ago
@johnwilander @litherum
tl;dr: we are hesitantly positive on this general direction, provided UAs must deliberately bucket users into large groups to avoid fingerprintability.
We have quite a few thoughts on this topic, some of which are fairly subtle.
navigator.language
. We don’t naively expose the entire language list from System Settings; instead we have a set of buckets, and we partition every user into one of those buckets. We intentionally pick the number of buckets and the partitioning mechanism to try to create a deliberate balance between fidelity and privacy.We’d like to try to split the problem of user preferences in internationalization on the web into two pieces:
Conveniently, these two pieces naturally give rise to different solutions.
navigator.language
: We’ll still be partitioning users into large buckets, and each bucket may now represent extra information in addition to just locale.Thanks, Apple’s WebKit team
I've gotten a bunch of requests for information on how we perform our existing bucketing for navigator.language
, so I'll provide some more context here.
Accept-Language:
header) and WebKit (for navigator.language
). Also, it was more convenient to place in a system framework because Apple's language experts are more familiar with making changes to that. (The reason doesn't have anything to do with secrecy or anything like that.)We implemented this stuff years ago. It works.
There is an updated proposal (which I've not looked at yet) https://github.com/ben-allen/locale-extensions
Ah, I see #227 was filed.
I'm closing this one in favor of that one.
Request for position on User Locale Preferences
Information about the specification
Design reviews and vendor positions
Bugs tracking this feature
Anything else we need to know
Introduction
"Find a reliable way to access user OS preferences to craft a better user experience, and improve accessibility over the web"
User preferences are often system-wide settings (such as in Android, macOS, or Windows). Operating systems allow the user to specify custom overrides for settings such as:
However, there’s currently no reliable way to access this information from the Web Platform to help craft better user experiences. Allowing web developers to access this information would allow them to improve the accessibility and usability of their websites, and bring the user experience of web applications closer to that of native applications.
Feedback
I welcome feedback in this thread, but encourage you to file bugs against