Closed Bug 1493698 Opened 2 years ago Closed 2 years ago
[remote-dbg-next] Add a helper to localize outside of components
47 bytes, text/x-phabricator-request
|Details | Review|
Right now all our localization is based on reusing fluent-react Localized and withLocalization helpers. However this means non-component files have no mean of localizing any string. A proposal to address this is to expose withLocalization::getString on a l10n.js helper that could be used transparently by actions, reducers, modules etc... Technically we could pass getString from the topmost component to this helper, but maybe there is a cleaner way to do this.
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: P2 → P1
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/09f652c90688 Add l10n localization helper for new about:debugging;r=daisuke
You need to log in before you can comment on or make changes to this bug.