refactored translations controller