Closed Bug 1582064 Opened 5 years ago Closed 4 years ago

Enable content from a Remote Settings message to be updated locally based on profile

Categories

(Firefox :: Messaging System, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox71 --- fix-optional

People

(Reporter: andreio, Unassigned)

References

(Blocks 1 open bug)

Details

For example: RS Message has a generic link to a page that needs to be adjusted locally to the correct Firefox locale similar to how snippets formats based on %VARIABLES%.
We have some existing usecases

  1. The protections panel message has a sumo link that is formatted locally using Services.urlFormatter.formatURLPref and the url is configured through a pref. This prevents us from having this message in RS.
  2. What's New panel messages include personalized messages such as number of blocked trackers. We make all variables available to fluent when localizing.

We added these as we needed them but we should find a standard way to do it.

Depends on: 1577238
Priority: -- → P2
Blocks: cfr
No longer blocks: 1561009

OPEN_URL does format any URL passed to it, this was the most common use case. We can add this to new features as they come in.

https://searchfox.org/mozilla-central/rev/baf1cd492406a9ac31d9ccb7a51c924c7fbb151f/toolkit/components/messaging-system/lib/SpecialMessageActions.jsm#102

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.