Adding a French version to your website

Some UK businesses serve French-speaking customers: holiday lets, schools, exporters, or firms near the Channel ports.

A French version of the site helps those customers. Visitors and search engines both need to tell which version is which.

Start with the pages those customers use

You don't have to translate everything. Start with the home page, the main service or product pages, and how to get in touch.

Have each page checked by someone fluent in French, especially prices, dates and anything legal. Machine translation is a draft, not a finished page.

Give each language its own address

Google Search Central says: "Google recommends using different URLs for each language version of a page rather than using cookies or browser settings to adjust the content language on the page."

One way to do that is a folder, such as yoursite.co.uk/fr/, holding the French pages.

Let visitors choose

Google also advises: "Avoid automatically redirecting users from one language version of a site to a different language version of a site."

A clear link at the top of each page, saying "Français" on the English pages and "English" on the French ones, lets people switch for themselves.

Label the language in the page

Each page should say what language it is written in. W3C's advice: "Always use a language attribute on the html tag to declare the default language of the text in the page."

That is lang="en-GB" on English pages and lang="fr" on French ones. Screen readers can use it to pronounce the words correctly.

Tell Google the pages are pairs

Google uses "hreflang" links to match each page with its translation. Its guidance says: "Each language version must list itself as well as all other language versions."

Some website builders and translation add-ons add these links for you. Check that each English page points to its French twin and back.

Useful links