Update TranslationFactory.php

 Q                    | A
| -------------------- | ---
| Bug fix?             | NO
| New feature?         | NO
| BC breaks?           | NO
| CI currently passes? | NO
| Tests pass?          | NO
| Scenarios pass?      | NO
| Checkstyle issues?*  | NO
| PMD issues?**        | NO
| Changelog updated?   | NO
| Fixed tickets        | NO
| DB schema updated?   | NO
| Migration script?    | NO
| Doc PR               | NO

Unless I'm missing something two parameters are not used. I will also modify service definition and tests with this PR if I'm right.