-
Notifications
You must be signed in to change notification settings - Fork 79
Closed as not planned
Closed as not planned
Copy link
Labels
needs-triage: chromeChrome needs to assess this issue for the first timeChrome needs to assess this issue for the first timeneeds-triage: firefoxFirefox needs to assess this issue for the first timeFirefox needs to assess this issue for the first timeneeds-triage: safariSafari needs to assess this issue for the first timeSafari needs to assess this issue for the first timetopic: localization
Description
Taken parts of said doc for this issue as starting point for discussion.
Overview
The i18n API allows you to manipulate the i18n related browser settings, such as
the accept languages.
Could this API be part of the web platform?
We would also like to be able to modify accept languages preferences as well by extension,
for example, it'd be nice if we could "learn" the accept-languages through
translate, such as if you decline to translate a French page, that would be a
good signal that you want it added to the accept-languages.
Do you expect this API to be fairly stable?
Yes*.*
Draft API spec
void setAcceptLanguages(Value newAcceptLanguages)
void appendAcceptLanguage(Value acceptLanguage)
Issues
- Browser UI should be able to deal with valid BCP47 codes they do not offer in their own UI. This
Alternatives
- Usage of DNR and main world content script hacks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-triage: chromeChrome needs to assess this issue for the first timeChrome needs to assess this issue for the first timeneeds-triage: firefoxFirefox needs to assess this issue for the first timeFirefox needs to assess this issue for the first timeneeds-triage: safariSafari needs to assess this issue for the first timeSafari needs to assess this issue for the first timetopic: localization