Closed Bug 653119 Opened 13 years ago Closed 13 years ago

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

Categories

(DevTools :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwalker, Assigned: jwalker)

References

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.
Whiteboard: [:l10n]
Whiteboard: [:l10n]
Assignee: nobody → jwalker
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: GCLI-EXPERIMENT
Blocks: GCLI-HELP
Blocks: GCLI-JS
No longer blocks: GCLI-HELP
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
Priority: -- → P2
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
Closed: 13 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.