refactor translation_for.