did inquiry, such answer came:
Please use the following code into your theme’s functions.php file.
The below code will add language switcher with only flags to your menu.
// Filter wp_nav_menu() to add additional links and other output
function new_nav_menu_items($items,$args) {
if (function_exists(‘icl_get_languages’)) {
$languages = icl_get_languages(‘skip_missing=0’);
if(1 < count($languages)){
foreach($languages as $l){
if(!$l){
$items = $items.'<li class=”menu-item”>‘;
}
}
}
}
return $items;
}
add_filter( ‘wp_nav_menu_items’, ‘new_nav_menu_items’,10,2 );
but it is impossible to insert into a subject. that in the top field of a subject flags were reflected