We have a .com property with many visitors from different countries and languages (for example Australia, Germany, Netherlands).
Our current hreflang seems really problematic as it's at this format:
<li><a href="/?locale=en-EU" hreflang="en-EU"><span class='iso'>EN</span> <i class='flag-en-EU'></i></a></li>
<li><a href="/?locale=en-AU" hreflang="en-EU"><span class='iso'>AU</span> <i class='flag-en-AU'></i></a></li>
<li><a href="/?locale=de-DE" hreflang="en-EU"><span class='iso'>DE</span> <i class='flag-de-DE'></i></a></li>
<li><a href="/?locale=es-ES" hreflang="en-EU"><span class='iso'>ES</span> <i class='flag-es-ES'></i></a></li>
<li><a href="/?locale=fr-FR" hreflang="en-EU"><span class='iso'>FR</span> <i class='flag-fr-FR'></i></a></li>
<li><a href="/?locale=no-NO" hreflang="en-EU"><span class='iso'>NO</span> <i class='flag-no-NO'></i></a></li>
<li><a href="/?locale=ru-RU" hreflang="en-EU"><span class='iso'>RU</span> <i class='flag-ru-RU'></i></a></li>
<li><a href="/?locale=fi-FI" hreflang="en-EU"><span class='iso'>FI</span> <i class='flag-fi-FI'></i></a></li>
<li><a href="/?locale=sv-SE" hreflang="en-EU"><span class='iso'>SE</span> <i class='flag-sv-SE'></i></a></li>
which I guess it's related to the selection of language through a drop down menu that we have, by selecting the appropriate Flag icon.
I believe that we should use the XML sitemaps and try to introduce something like this:
<url>
<loc>http://www.example.com/uk/</loc>
<xhtml:link rel="alternate" hreflang="en"
href="http://www.example.com/" />
<xhtml:link rel="alternate" hreflang="en-au"
href="http://www.example.com/au/" />
<xhtml:link rel="alternate" hreflang="en-gb"
href="http://www.example.com/uk/" />
</url>
Any other suggestions?