translations refactoring