Support for UI language switcher add-ons
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: nohamelin, Unassigned)
References
Details
(Whiteboard: [design-decision-approved])
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
Reporter | ||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment 11•5 years ago
|
||
It looks as though these four methods need documentation:
Services.locale.setRequestedLocales
Services.locale.getRequestedLocales
Services.locale.getAvailableLocales
Services.locale.getAppLocalesAsBCP47
(as "getAppLocales")
I'm not sure where they belong. We don't seem to have API information for either Services or locale. I'm sure I'm missing something here, but if you could give me a pointer on that, I will create a task to get the documentation written.
Comment 12•5 years ago
|
||
(In reply to Irene Smith from comment #11)
It looks as though these four methods need documentation:
Services.locale.setRequestedLocales
Services.locale.getRequestedLocales
Services.locale.getAvailableLocales
Services.locale.getAppLocalesAsBCP47
(as "getAppLocales")I'm not sure where they belong. We don't seem to have API information for either Services or locale. I'm sure I'm missing something here, but if you could give me a pointer on that, I will create a task to get the documentation written.
This doesn't appear to be exposed to WebExtensions via an API. Looks like it's just internal at this point -
https://searchfox.org/mozilla-central/search?q=setRequestedLocales&path=
So I don't think we need to document anything here.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Description
•