Refacotry translate_interface to translate_window.