in the list, the EN is ordering first. Is there any way for set ES first
Solution:
you can reorder languages in the horizontal language switcher layout provided by WPML. Here's how you can do it:
Access WPML Settings: Log in to your WordPress admin dashboard.
Navigate to WPML Settings: Go to WPML > Languages.
Language Switcher Options: Look for the "Language switcher options" section.
Horizontal Language Switcher Options: If you're using the horizontal language switcher, find the option labeled "Horizontal language switcher options" and click on it.
Reordering Languages: You will see a list of languages available for your site displayed horizontally. You can reorder them by clicking and dragging them to the desired position.
Save Changes: After you have reordered the languages according to your preference, don't forget to click the "Save" button to save your changes.
Check the Frontend: Once saved, visit your website's frontend to see the updated order of languages in the horizontal language switcher.