Translations:API:Import/23/en

For simplicity, the following code is reading the XML from a textarea and makes use of MediaWiki's JavaScript includes.