refactoring translation system with symfony/translator