Open Bug 1426016 Opened 6 years ago Updated 2 years ago

[meta] Convert add-ons manager to fluent

Categories

(Toolkit :: Add-ons Manager, task, P5)

task

Tracking

()

People

(Reporter: nohamelin, Unassigned, NeedInfo)

References

(Blocks 2 open bugs)

Details

(Keywords: meta)

Attachments

(1 file)

Nightly 59.0a1 20171218220523, but it surely happens with release too.

Steps
-----

* Ensure that the UI language application is correctly set to English.
* Open the Add-ons Manager: the UI is in English, and, if the add-on supports it, all its metadata is displayed in English too.
* Install an language pack, let's say Spanish es-ES.
* Change the UI language to es-ES (intl.locale.requested preference in Nightly, general.useragent.locale otherwise).
* Close the Add-ons Manager and open it again.


Expected results
----------------
All Add-ons Manager in Spanish, excepting metadata of add-ons not supporting this language.


Results
-------
See attachment; two problems:
* Names of panels are still displayed in English.
* Metadata of ublock origin is still displayed in English, even when this add-on actually has a Spanish localization.

After restarting the application, these two texts are displayed in Spanish, as expected. A restart shouldn't be neccesary.
Blocks: 1425941
This will be fixed only once Fluent replaces the current l10n API in Addons Manager. We don't have a bug for that switch yet, so I'll set it as a dependency for the general tracking bug for Fluent.
No longer blocks: 1425941
Depends on: 1365426
Clarifying the title.  Priority is kind of meaningless at this point since Fluent needs some time to stabilize first and we need to nail down our long term plans re about:addons.  So P5 for now so this is considered triaged, to be revisited when those things get addressed.
Priority: -- → P5
Summary: Mixed usage of languages in Add-ons Manager after an UI language switching → Convert add-ons manager to fluent
Some students that Gijs, jaws and I are mentoring are likely to take this on.

Marking meta since this will likely be divided up between students across different parts of about:addons.
Keywords: meta
Summary: Convert add-ons manager to fluent → [meta] Convert add-ons manager to fluent
These are the strings in extensions.dtd that are also used in XBL bindings, meaning that (as far as I understand), they can't be ported to Fluent just yet (until the bindings go away):

cmd.enableAddon.label
cmd.disableAddon.label
cmd.askToActivate.label
cmd.askToActivate.tooltip
cmd.alwaysActivate.label
cmd.alwaysActivate.tooltip
cmd.neverActivate.label
cmd.neverActivate.tooltip
cmd.stateMenu.tooltip
cmd.uninstallAddon.label
cmd.showPreferencesWin.label
cmd.showPreferencesWin.tooltip
cmd.showPreferencesUnix.label
cmd.showPreferencesUnix.tooltip
cmd.showReleaseNotes.label
cmd.showReleaseNotes.tooltip
cmd.hideReleaseNotes.label
cmd.hideReleaseNotes.tooltip
cmd.findReplacement.label
progress.cancel.tooltip
addon.details.label
addon.details.tooltip
addon.unknownDate
addon.legacy.label
addon.disabled.postfix
addon.update.postfix
addon.undoAction.label
addon.undoAction.tooltip
addon.undoRemove.label
addon.undoRemove.tooltip
addon.install.label
addon.install.tooltip
addon.updateNow.label
addon.updateNow.tooltip
addon.includeUpdate.label
addon.updateAvailable.label
addon.checkingForUpdates.label
addon.releaseNotes.label
addon.loadingReleaseNotes.label
addon.errorLoadingReleaseNotes.label
addon.createdBy.label
Blocks: 1486917
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 1507471
No longer depends on: 1365426
Type: defect → task

Is it now fixed?

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Whiteboard: webext?

This is not yet fixed. There are still two main tasks to achieve mostly fluent: the heading in HTML (underway) and the sidebar in HTML. Once those are done about:addons will be close but we have reused some old strings to avoid re-translation late in a cycle, so those will need to be migrated. I'll file blockers on this bug for those.

Flags: needinfo?(mstriemer)
Whiteboard: webext?
Blocks: 1581212
No longer blocks: 1486917
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: