Mobile app version of vmapp.org
Login or Join
Reiling115

: Django - html metadescription not translated while google searching I have a weird issue and I still don't know why. I'm working on a website using Django 1.10. Default language is English and

@Reiling115

Posted in: #Django #Internationalization #MetaDescription #Seo

I have a weird issue and I still don't know why.

I'm working on a website using Django 1.10. Default language is English and it is translated in French and Portuguese.

The pseudo code of the index.html looks like this :

<html lang="{{ LANGUAGE_CODE }}">
<head>
<meta charset="utf-8">
<title>{% trans "Some title"%}</title>
<link rel="alternate" href="http://www.example.com/en/" hreflang="en"/>
<link rel="alternate" href="http://www.example.com/fr/" hreflang="fr"/>
<link rel="alternate" href="http://www.example.com/pt/" hreflang="pt"/>
<meta name="description" content="{% trans "Some text" %}">


All translations work when I'm on the page, however, when I search my website on google, title and metadescription are in English for the French version (the URL is the right one and redirects to the French site however). Everything works fine for the Portuguese version.

I'm quite confused about that, has anyone a clue ?
Thanks

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme