Thank you for contacting WPML Support. Could you please make sure you have followed the below steps:
1. Please go to WPML >> Languages > Menu Language Switcher.
2. Press the “+ Add a new language switcher to a menu” button.
3. Choose the Menu and enable the Flag option and press the Save button as you can see in the attached screenshot.