GCLI should have l10n functions to help localize both in the browser and in firefox

RESOLVED FIXED

Status

()

Firefox
Developer Tools
P2
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jwalker, Assigned: jwalker)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [best:1d, likely:2d, worst:2d])

GCLI and maybe Ace need be l10n-ized. There will be different ways of achieving this in the browser and for the web. Pilot is an obvious way to allow both camps to be happy.

It is expected initially that the API will resemble the Firefox implementation.
Blocks: 642229
Whiteboard: [:l10n]
Whiteboard: [:l10n]
Assignee: nobody → jwalker

Comment 1

6 years ago
Is there a feature page for this?
Blocks: 653135
Blocks: 653139
(In reply to comment #1)
> Is there a feature page for this?

Not directly because pilot isn't a feature. It is a part of the graphical command line (https://wiki.mozilla.org/DevTools/Features/GCLI) which extends the web console.
No longer blocks: 642229
Blocks: 659059
Blocks: 675923
No longer blocks: 659059
The difficulty is in the breadth of the API, we only want to solve the problems we actually have not all possible l10n problems.

We are sure to need:

    var stringToDisplay = getLocalizedString('someKey');

We will also need some form of string interpolation:

    interpolate('the {sub} sat on the {obj}', { sub:'cat', obj:'mat' });

And *maybe* some pluralization:

    getLocalizedPluralizedString('someKey', 42);

I'm not expecting to need number / date / currency formatting, or weight / measure / timezone conversion.

I'm expecting that text direction and collation order are solved elsewhere.
Summary: Pilot should have l10n functions to help localize both in the browser and in firefox → GCLI should have l10n functions to help localize both in the browser and in firefox
Whiteboard: [minotaur][best:1d, likely:2d, worst:2d]
Status: NEW → ASSIGNED

Updated

6 years ago
Priority: -- → P2
Duplicate of this bug: 681914
Whiteboard: [minotaur][best:1d, likely:2d, worst:2d] → [best:1d, likely:2d, worst:2d]
The code for this bug is being checked in as part of bug 656666 and bug 656668. Discussion of this l10n effort should be directed to bug 656666.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.