On Mon, Jan 2, 2012 at 11:01 AM, Roan Kattouw <roan.kattouw(a)gmail.com>wrote;wrote:
On Mon, Jan 2, 2012 at 3:56 PM, Santhosh Thottingal
<santhosh.thottingal(a)gmail.com> wrote:
In that CR thread, Neil suggested moving message parsing to the server
side, and I'm running with it. I'll play with it today and tomorrow
and see if I can get it to work. If it works nicely, the JS code
required to support PLURAL etc. will be minimal, so I'll integrate it
into the main mw.msg library and this whole problem just won't exist
anymore.
I would rather have real, working client-side processing support; among
other things for offline behavior it's nice not to have to rely on
preprocessing. (If the preprocessing is done during message loading, then
probably less of a deal for MediaWiki itself, which still relies on a
server to load up the messages in the first place.)
However we also use client-side JS localization for our Android application
(soon to migrate to other platforms), which uses a pruned-down mediawiki.js
for its localization framework. Having plural work there would be a plus.
-- brion