Thursday, March 31, 2016

Issue with django docs translations and google indexing


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.

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment