Open Bug 1791356 Opened 2 years ago Updated 2 years ago

[Extension API] Per-extension language preferences

Categories

(WebExtensions :: General, enhancement, P5)

Firefox 105
Desktop
All
enhancement

Tracking

(Not tracked)

People

(Reporter: han.guokai, Unassigned)

References

Details

(Whiteboard: [wecg])

Steps to reproduce:

This is a new feature request for extensions.

Expected results:

Summary
Currently, browser.i18n only display one default language to users. Users can't change the language to other extension supported languages independently. Developers need to use their own solutions to provide users with multiple language select menu.

It makes sense for an app to use another language independently of the operating system. For example, Android supports per-app language preferences. The same goes for extensions. This proposal brings per-app language preferences to browser extensions.

Features and API designs can be found here(the first post):
https://github.com/w3c/webextensions/issues/258

The Bugbug bot thinks this bug should belong to the 'Toolkit::Add-ons Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit

Hello, I am not familiar with mozilla ubgzilla. This bug should be belong to Product: WebExtensions. How to change it?

Flags: needinfo?(mixedpuppy)
Component: Add-ons Manager → General
OS: Unspecified → All
Product: Toolkit → WebExtensions
Hardware: Unspecified → Desktop
Version: Firefox 104 → Firefox 105
Whiteboard: [wecg]

This could be useful for extension to itself allow the user to change the language, since we do automatic localization in CSS files and similar. We're unlikely to do this on our own, unless other browser vendors agree about a common API in the WECG issue.

We're unlikely to be adding Firefox UI for this though.

Severity: -- → N/A
Priority: -- → P5

(clearing old needinfo; also fixing up status)

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mixedpuppy)
You need to log in before you can comment on or make changes to this bug.