Changes so that the translator can be set in the global.php autoload

file.