Forum Moderators: Robert Charlton & goodroi
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Language" content="other language">
Will Google pick up the first, second, or both for the page in question?
Or, is it possible to indicate that the page is in mixed language?
I know that there is another way to specify language for individual blocks of text such as: <p lang="en">some English text</p>
I am asking this question out of ranking concerns. Because, I know that many users use Google with a local interface (language, codepage, etc.). But many others use international (English) interface. So, ranking in one language and optimizing for it involves ignoring the other language which is least desirable for a bilingual dictionary site.
Is there a way to solve this seeming dilemma without designing two different pages for the two languages, and redirecting visitors according to some defined parameters (such as geolocation, or browser language, etc.)?
You should use the
lang attribute rather than the meta element for defining the primary language: <html [b]lang="en"[/b]> Otherwise, don't define a default at all but mark up each section with the appropriate
lang attribute.
I will certainly follow your suggestion. But I am curious about whether using <lang="other language"> tag can halp to rank better for the "other language" in SERPs.
In fact, I have another dictionary with "en" as the default language. Curiously enough, it performs excellently in the "other language" even though great majority of searches are from the local Google, and with the "search in Other Language" option (currently at #1-#4 for a target keywords in the other language. And this observation might seem contradict the recommendation for selecting a primary language.
I deliberately preferred "en" as the default language, but I used the codepage for the other language:
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
Can this codepage setting be the critical factor?