You must specify the language in the HTML tag, for example:
<html lang="en">
You can also use the attribute langfor any element, so if it has only one div with French, you can do:
<html lang="en">
...
<body>
...
<div lang="fr"></div>
...
</body>
</html>
source
share