This thread is resolved. Here is a description of the problem and solution.
Problem:
The client's SEO team noticed that the hreflang tag and the canonical URL have the same structure, which was not expected.
Solution:
We have resolved this issue in a later version of WPML. We recommend updating to the latest version of WPML to ensure this issue is addressed.
If this solution does not apply because it might be outdated or not relevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still experience issues, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.