("new language code:", language_code) return language_code def applyNewLanguage(): global combo_language new_language = combo_language.get().strip() #print("new language value:", new_language) language_code=get_language_code_by_name(new_language) global lbl_homepage global lbl_browser ...