[Mediawiki-i18n] Pseudolocalization

Niklas Laxström niklas.laxstrom at gmail.com
Fri Sep 24 07:49:55 UTC 2010

On 23 September 2010 00:59, Neil Kandalgaonkar <neilk at wikimedia.org> wrote:

> Maybe I'm not being clear about what I would like to do. Something like
> this:
> The idea is to allow a developer to quickly see how their page might look in
> another language -- without learning that language, waiting for a
> translation, or otherwise involving anyone else.

> How we do this: in MediaWiki, we reserve the language xx-pseudo to mean
> pseudolocalization. If it is selected, instead of looking up the string in
> the appropriate message file, we look up the string in English and then
> apply a fast transform to swap certain characters and add padding. The only
> complicated part is making sure we don't affect embedded markup like
> {{PLURAL}}. It could be done in real time, without any stored message file.

You are going to have problems with messages like sidebar, mainpage
and others excepting certain kind of input.


Niklas Laxström

More information about the Mediawiki-i18n mailing list