We have highlighted the lang codes with country flags, you just need to copy the flag code and paste it in the front of the language for which you need to change the icon.
Step 1: Login FTP or cPanel
Step 2: Go to whmcsdir/modules/addons/hostx/
Step 3: Open & edit file languageHostX.php
Step 4: Change the flag code for the desired language as mentioned in the above flag image.
Step 5: Save the file.