I launched about 6 months ago a spanish version of an italian website, using a subdomain like es.mysite.com After some months, the website has been indexed but the home page is detected as Italian. The content is 100% spanish, and I'm already using the "lang" specification: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-es" lang="es-es">
I don't have already setup the language in google webmaster tools, since spanish is not only from Spain and I don't want to restrict results to google.es .
Is there any solution to help Googlebot detect the correct language or should I setup geotarget to Spain in google webmaster tools?
This isn't likely to be a direct cause, but the above indicates Spanish and the country of Spain - if you are targeting a language in general and not a particular variant, just use the two-letter language code: lang="es".