cliveportman/code

Checklist for multi-language sites

Make sure the language of the content is specified with the opening HTML tag:

<html lang="en-gb">

Set an alternate page for the translated content:

<link rel="alternate" hreflang="fr" href="http://cliveportman.co.uk/fr/" />

Refer to the different translated pages within the sitemap:

<url>
    <loc>{{ siteUrl }}</loc>
    <xhtml:link rel="alternate" hreflang="en" href="{{ siteUrl }}en"/>
    <xhtml:link rel="alternate" hreflang="fr" href="{{ siteUrl }}"/>
</url>

Note that in the sitemap the alternate links are needed for the default language as well.