Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export "plausible language" or something similar. #7757

Open
jyasskin opened this issue Mar 29, 2022 · 1 comment
Open

Export "plausible language" or something similar. #7757

jyasskin opened this issue Mar 29, 2022 · 1 comment
Labels
integration Better coordination across standards needed

Comments

@jyasskin
Copy link
Member

Since @inexorabletash's WICG/local-font-access#76, https://wicg.github.io/local-font-access/#user-language is now defined as "either a plausible language or the user’s most preferred language", but "a plausible language" isn't exported from HTML. It's not urgent, but it'd be good for HTML to export the terms that other specs want to use, or for us to pick something else to reference from that other spec.

It's possible that HTML should actually export a term for the thing that winds up in navigator.language, instead of making other specs repeat the phrase that defines it.

@domenic
Copy link
Member

domenic commented Mar 29, 2022

It's interesting to contrast this with other specs which key off of the document's language, e.g. https://w3c.github.io/payment-request/ step 18.

But it looks like this data is coming from some OS API which is probably (like navigator.language?) configured by the user, instead of document's language which can be configured by the developer. So local-font-access is correct and indeed wants the kind of hook you mention.

@annevk annevk added the integration Better coordination across standards needed label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Better coordination across standards needed
Development

No branches or pull requests

3 participants