We have an intranet application that's predominantly english, but serves up fragments of content in various unspecified languages.
Chrome used to detect foreign content and offer to translate it for us: if we had lots of foreign content, it offered to translate the whole page; if we only had a little foreign content, the user was able to select the text and use the 'Translate to English' context-menu. Both options are currently broken as (apparently) Chrome is now accepting the Content-Language
header as gospel, and disables the translation context-menu.
Our server puts out response headers including:
Content-Language: en-US
This is correct as the UI is all English. However, we need some way to mark areas of the page where the content may not be English. e.g. comment areas.
What lang
value can we use to mark-up a section of a page as 'may not be english', without knowing exactly what language it is?
<div lang="??">
<p>...customer comments...</p>
</div>