'Get selected language setting and save to language configuration file.'

def _save_lang(self):

    for (combobox, (option, _default)) in list(self.comboboxes.items()):
        if (option == 'interface_language'):
            data = combobox.itemData(combobox.currentIndex())
            value = from_qvariant(data, to_text_string)
            break
    save_lang_conf(value)
    self.set_option('interface_language', value)
