As Chrome detects the language of a page?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
Features:
— Drupal 7 with Russian translation
Content on the website in Russian language


But hard Chrome says the page language is English and offers to translate it.
He defines a language and how to make him think that the site still Russian?
by | 7 views

6 Answers

0 like 0 dislike
you just set xml:lang?
in any case, the standard xhtml1 need two attributes — xml:lang="EN" and lang="ru", although it stated that the first more significant
\rwww.w3.org/TR/xhtml1/#C_7
by
0 like 0 dislike
\r\r\r.............. \r
by
0 like 0 dislike
Look the Telnet server response, the headers EN-the locale can be specified.
by
0 like 0 dislike
try the "tags" like so
/>
by
0 like 0 dislike
Most likely, you have certainly a lot of English words, which makes chrome think that the page language is English. Other options does not occur
by
0 like 0 dislike
www.w3.org/1999/xhtml" xml:lang="EN-us" lang="EN-us" dir="ltr">
/>
...
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
28,000 users