: English content on International page templates: how to mark it up with lang="" attributes? So, I have translated page templates to various languages so it's easier for users to pick their language
So, I have translated page templates to various languages so it's easier for users to pick their language for easier navigating and understanding the site.
The pages have similar markup to this simplified excerpt:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>page title</title>
<meta name="description" content="meta description">
<link rel="alternate" href="http://example.com/page.html" hreflang="en">
<link rel="alternate" href="http://example.com/es/page.html" hreflang="es">
<link rel="alternate" href="http://example.com/de/page.html" hreflang="de">
<link rel="canonical" href="http://example.com/page.html">
</head>
<body >
<article>
<h1>Heading</h1>
...
The thing is that on international pages (the ones listed in hreflang markup), the blog post is not translated, it is in English...
As you see in my sample code, there is a specified language for the page <html lang="en"> and it is different for other languages.
Question: do I set <article lang="en"> for international language pages so the bots would understand that templates are translated into other languages, but content is yet in English?
More posts by @Frith620
1 Comments
Sorted by latest first Latest Oldest Best
Setting <article lang="en"> will not hurt but is not required. Even if the only thing you have translated is the site navigation, it is OK to use hreflang tags the way you are using them now.
<html lang=en> will be a problem, though. You don't want to confuse bots by using that on a page that declares it's in Spanish, for example.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.