Update TranslationFactory.php

Two parameters are not used