Closed Bug 1465797 Opened 6 years ago Closed 4 years ago

Expose Fluent's MessageArgument and subclasses in MessageContext.jsm

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: stas, Unassigned)

Details

These classes may be used to pass partially formatted argument into translations.
Priority: -- → P3

Can we close this now?

Flags: needinfo?(stas)

AFAIK, we don't expose FluentArgument currently, do we? I only found https://searchfox.org/mozilla-central/source/dom/chrome-webidl/Fluent.webidl#27 which describes the types of arguments, and https://searchfox.org/mozilla-central/rev/501eb4718d73870892d28f31a99b46f4783efaa0/intl/l10n/FluentBundle.cpp#177. So it looks like it wouldn't be supported, even if we exposed it?

I guess there hasn't so far been a need for exposing it. I'd keep the bug open (renaming to something to the effect of Expose FluentArgument) and give it a low priority for now. If a use-cases emerges in the future, we can reprioritize.

Flags: needinfo?(stas)

We're migrating all of Fluent to Rust exposed via WebIDL. Closing.

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