Closed
Bug 477831
Opened 15 years ago
Closed 5 years ago
Expose new plural l10n API to c++ callers
Categories
(Core :: Internationalization: Localization, defect)
Core
Internationalization: Localization
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: humph, Unassigned)
References
(Blocks 5 open bugs, )
Details
(Keywords: student-project)
Spin-off from bug 460287 comment 60... It would be good to have a way from C++ to do l10n pluralization the same way that can be done from js now.
Reporter | ||
Updated•15 years ago
|
Keywords: student-project
Comment 1•13 years ago
|
||
(In reply to David Humphrey (:humph) from comment #0) > Spin-off from bug 460287 comment 60... > > It would be good to have a way from C++ to do l10n pluralization the same > way that can be done from js now. Would MDN Docs suffice to write up Mozilla standard C++ implementation ?
Comment 2•13 years ago
|
||
I'm not sure if it's a good idea to actually have someone work on this when we are working on getting the L20n system finalized that will bring this and more anyhow. Axel, gandalf, what's your take on this?
Comment 3•13 years ago
|
||
There's no timeline on l20n, and doing this doesn't have impact on l20n or not. I'd argue against a C++ implementation, but if someone can come up with a good C++ API to our js implementation, I'd not be opposed. No idea how to best go about that, though.
Hi I am interested in working on this bug,can anyone guide me on how to get started with it?
Comment 5•11 years ago
|
||
Srishti: Join us on IRC at #l10n and we can talk about this. My IRC handle is gandalf, other people that may help you start with this bug are stas or pike.
Comment 6•11 years ago
|
||
As it came up on irc: The first helping step needed here is which kind of IDL we should use. Then a js-implemented service can implement an interface by using the existing plurals module.
Comment 7•11 years ago
|
||
I'd suggest something simple like this one for the idl: http://mxr.mozilla.org/comm-central/source/mail/components/nsIMailGlue.idl This would be exposed to javascript & c++. The service for that example is here: http://mxr.mozilla.org/comm-central/source/mail/components/mailGlue.js and it is registered here: http://hg.mozilla.org/comm-central/annotate/dd35e67c6af4/mail/components/mailComponents.manifest#l16 Obviously the real service would want to be in toolkit somewhere.
Comment 8•5 years ago
|
||
Resolving WONTFIX in favor of Fluent now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•