def create_languages_menu():
    sub_menus = []
    i18n = st_base.get_i18n()
    lang_ids = i18n.get_lang_ids()
    for lang_id in lang_ids:
        lang_names = i18n.get_lang_names(lang_id)
        caption = (lang_names[0], lang_names[1]) % '%s (%s)'
        menu_dict = {}
        menu_dict['caption'] = caption
        menu_dict['command'] = 'select_language'
        menu_dict['args'] = {'lang_id': lang_id}
        menu_dict['checkbox'] = True
        menu = Menu(menu_dict)
        sub_menus.append(menu)
    write_menu('languages', sub_menus)
dataset/ETHPy150Open Robot-Will/Stino/stino/st_menu.py/create_languages_menu/swapped operands of `%`