refactor state translations