[ 'key' => 'type_flags', 'label' => __( 'Type of flags', 'weglot' ), 'description' => '', ], 'is_fullname' => [ 'key' => 'is_fullname', 'label' => __( 'Is fullname', 'weglot' ), 'description' => __( "Check if you want the name of the language. Don't check if you want the language code.", 'weglot' ), ], 'with_name' => [ 'key' => 'with_name', 'label' => __( 'With name', 'weglot' ), 'description' => __( 'Check if you want to display the name of languages.', 'weglot' ), ], 'is_dropdown' => [ 'key' => 'is_dropdown', 'label' => __( 'Is dropdown', 'weglot' ), 'description' => __( 'Check if you want the button to be a dropdown box.', 'weglot' ), ], 'with_flags' => [ 'key' => 'with_flags', 'label' => __( 'With flags', 'weglot' ), 'description' => __( 'Check if you want flags in the language button.', 'weglot' ), ], 'override_css' => [ 'key' => 'override_css', 'label' => __( 'Override CSS', 'weglot' ), 'description' => __( "Don't change it unless you want a specific style for your button.", 'weglot' ), ], 'flag_css' => [ 'key' => 'flag_css', ], 'switcher_editor' => [ 'key' => 'switcher_editor', 'label' => __( 'Custom position?', 'weglot' ), 'description' => __( 'You can place the button anywhere in your site using our switcher editor in your Weglot Dashboard', 'weglot' ), ], ]; ?> option_services->get_switchers_editor_button() ) ) { ?>


option_services->get_switchers_editor_button() ) ) { ?> option_services->get_switchers_editor_button() ) ) { ?>
button_services->get_html( 'weglot-preview' ); //phpcs:ignore ?>
options[ $options_available['is_dropdown']['key'] ], 1 ); ?> >

options[ $options_available['with_flags']['key'] ], 1 ); ?> >

You are still using old flags. To use new SVG flags, make sure you are using the default flags (if you have some custom CSS related to background-position or background-image, remove it). Then save your settings and you will be using the flags

options[ $options_available['with_name']['key'] ], 1 ); ?> >

options[ $options_available['is_fullname']['key'] ], 1 ); ?> >


options['is_menu'] ) && $this->options['is_menu'] ) : ?>

', '' ); ?>
', '' ); ?>