Page MenuHomePhabricator

Add support for formatnum in JavaScript mw.msg()
Closed, ResolvedPublic


{{formatnum}} in i18n messages does not work if a message is used in by JavaScript mw.msg().

It would be nice to have this implemented for JS messages. Otherwise, there's not necessarily a way for translators to know which messages are used in JS and they might use this, and the message shows an error.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:00 AM
bzimport set Reference to bz40354.
aude created this task.Sep 19 2012, 12:44 PM

Please also report separate bugs for any JS messages you encounter not using localised numbers. Those can be fixed in a better way.

Behaviour is ideally equal to that as documented in

Gerrit change 44222 merged by Nikerabbit on the 21st. Is this bug resolved now?

There is followup by Santhosh which improves it: Gerrit 44968