I see that issue on the sandbox site. After creating some languages, I see it happens when you add a supported language by WPML (French) then edit the language and change the default locale, hreflang.
It does not happen when you go to WPML > Languages > Site languages > Edit languages > Add a custom language. You can see the Canada language on the sandbox site.
On your site, I suggest you can add a custom language Belgium with the following settings:
- Code: be
- Default locale: be
- Hreflang: be
- Language mapping: French
Please check this screenshot hidden link
If I remove the current wpml language, and add a custom language, Do i need to Translate all the pages and blogs again? as I have more than 500+ pages and 2000 + posts, Or I can change the hreflang of existing language ? is there any other way to solve this issue ?
Yes, please change the Default locale and Hreflang of the Belgium language to "be" and visit the sitemap page again to see how it goes. You can test this on your staging site hidden link
I want to keep hreflang as fr-BE,nl-NL, changing hreflang will be a solution, but I also want to keep hreflang fr-BE,nl-NL, is there any other solution ?
I'm asking our 2nd tier support about this issue and update you here when I have something to share. Meanwhile, you have the workaround to change the hreflang to "be" to fix this issue.
Our 2nd tier support is checking the issue. I will update you here once I have any information. You can help us to push it forward by contacting AIO SEO support and reporting this issue if they are aware of this.