XTools.i18n.php overhaul