Issue with django docs translations and google indexing

18 views
Skip to first unread message

Piotr Gnus

unread,
Mar 31, 2016, 1:40:26 PM3/31/16
to Django users
Hello,

when translations were implemented in django docs, there is an issue with google indexing documentation pages - all language versions are indexed as english language, so searching for particular documentation page from google gives results on non-english documentation versions if your language is set to english in google. And it can be random, some results are in Japanese, some in Spanish, some in other languages.

Issue is probably caused by 'lang="en"' being set in <head> tag for all languages. Setting it to proper language should stop google indexing all languages as english.

Tim Graham

unread,
Mar 31, 2016, 2:15:25 PM3/31/16
to Django users
See https://github.com/django/djangoproject.com/issues/621 for some recent improvements we tried to fix this. Perhaps more needs to be done but things look better for me since that change.
Reply all
Reply to author
Forward
0 new messages