refactoring (injection of translator)