Closed Bug 1555788 Opened 2 years ago Closed 2 years ago

Migrate AboutPreferences to use fluent


(Firefox :: New Tab Page, task, P1)




Firefox 69
69.3 - Jun 10 - 23
Tracking Status
firefox68 --- unaffected
firefox69 --- fixed


(Reporter: Mardak, Assigned: jcarlos)




(1 file)

This might want its own fluent file, and it'll need some way for about:preferences page to use that file. We probably want the fluent file to be in the activity-stream repository for now (and copied over to browser/locales/en-US/browser for localization when done)

We can probably dynamically add something like <link rel=localization href="newtab/preferences.ftl">

Priority: -- → P1
Iteration: --- → 69.2 - May 27 - Jun 9
Iteration: 69.2 - May 27 - Jun 9 → 69.3 - Jun 10 - 23
Assignee: nobody → pdahiya

flod, how should we approach this? Looks like the options are:

  • migrate to separate newtab/preferences.ftl (or some other name or just the newtab/newtab.ftl)
  • migrate to preferences/preferences.ftl
  • ??

There's a ~15 properties strings that we inject into about:preferences (setting dom attributes / textcontent):

about:preferences#home also has some strings that are already fluent:

Moving the properties to a separate newtab/preferences.ftl allows github-based development and string changes to happen together (instead of needing to land strings first). Although with bug 1552007 for mc-based development (and that aboutpreferences.jsm is a plain module), we could just say only make string changes (to preferences.ftl and aboutpreferences.jsm) using m-c.

Flags: needinfo?(francesco.lodolo)

I think their natural place would be with other preferences strings (preferences/preferences.ftl).

If that's a problem, then it should be a separate file just for preferences, because we'll need to load it into preferences, and no point in loading the entire newtab bundle.

Flags: needinfo?(francesco.lodolo)
Type: enhancement → task
Assignee: pdahiya → jcarlos
Component: Activity Streams: Newtab → New Tab Page
Pushed by
Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
You need to log in before you can comment on or make changes to this bug.