[Mediawiki-i18n] Altering message string output for Javascript

Petr Kadlec petr.kadlec at gmail.com
Thu Aug 12 11:30:33 UTC 2010


On 12 August 2010 10:12, Michael Dale <mdale at wikimedia.org> wrote:
> I think the we should do server side msg parse and cache for everything
> it can, with variable substitution arguments like {{PLURAL:$1|value 1|
> value 2}} being delivered to the client in a way that it can manage
> relevant in-line substitutions.

I might be stating the obvious, but please do not forget that
{{PLURAL}} handling (and number of its parameters) is
language-dependent. The client-side JavaScript code handling this
would have to be defined in LanguageXx.php.

-- [[cs:User:Mormegil | Petr Kadlec]]



More information about the Mediawiki-i18n mailing list