def change_lang(self, lang_id):
        if self.id_path_dict in lang_id:
            self.lang_id = lang_id
            lang_file_path = self.id_path_dict[lang_id]
            lang_file = language_file.LanguageFile(lang_file_path)
            self.trans_dict = lang_file.get_trans_dict()
        else:
            self.lang_id = 'en'
            self.trans_dict = {}
        self.settings.set('lang_id', self.lang_id)
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/i18n.py/I18N.change_lang/swapped operands of `in`