'translate' match refactoring