
A site with more than one language, or with the same language written for different countries, needs to tell search engines that the versions belong together. Without that, pages compete with each other and the wrong version can surface for the wrong visitor.
Three ways to say it
You can declare the alternates in the page header with link elements, in HTTP response headers, or in a sitemap. Google treats all three as equivalent, and using all three at once brings no benefit, only more to maintain.
The rules that break most often
Every version must list itself as well as every other version, and the links must be reciprocal: if one page does not point back, the tags are ignored. URLs must be fully qualified, including https and the domain. And hreflang does not tell Google what language a page is in; Google works that out from the content, so a mistranslated page is still a mistranslated page.
Add a catch-all
If you target English in several countries, provide a general English page as well as the country versions, and use the x-default value for visitors whose language you do not cover, such as on a language selector or a redirecting home page.
What counts as duplicate
Two language versions are only duplicates if the main content is untranslated. Translating the navigation and footer while leaving the articles in one language is a common and expensive mistake: the pages look localised but read as duplicates to a search engine.
A maintenance note
The set has to be updated when a language is added. If full reciprocity becomes impractical, keep the new language linked both ways to your strongest existing language rather than letting the cluster drift.
Source: https://developers.google.com/search/docs/specialty/international/localized-versions. This article combines the linked guidance with editorial workflow advice; it is not a certification or a promise of business results.
Explore the Pixeleator portfolio or discuss your website project.