Thursday, March 31, 2016

Issue with django docs translations and google indexing

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.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fdac0a8d-51c4-4557-807f-5578b5a3827c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment