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.
(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 ?
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?
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?
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.
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.
I'd suggest something simple like this one for the idl:
and it is registered here:
Obviously the real service would want to be in toolkit somewhere.