Mobile app version of vmapp.org
Login or Join
Frith620

: 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

@Frith620

Posted in: #Googlebot #Hreflang #Internationalization #Optimization #Seo

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

1 Comments

Sorted by latest first Latest Oldest Best

 

@Moriarity557

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme