seo – Web with two languages. URLs with / es / are not indexed


Hello,

I launched a website with English and Spanish languages. I did this using WPML, but I have a lot of problems with indexing and classifying Spanish URLs, which appear in the / es / URL.

Google Search Console declares all URLs such as domain.com/en/wwhat as "Duplicate and submitted URL not selected as canonical"

I really need these pages, although they are translations from the English version, to index and classify keywords as well.

Solutions? Thank you!