for radio, (code, language) in settings:
radio.configure(text=language().name,
variable=self.languagevar,
value=code, command=self.change_language)
the language has to be initialised just to read its name. It would make more sense for the name to be a class attribute, as it is never used within the methods of the translator itself.
In the method
ready_radios()
of theEditor
class:the language has to be initialised just to read its name. It would make more sense for the name to be a class attribute, as it is never used within the methods of the translator itself.