The Wayback Machine - https://web.archive.org/web/20200916184525/https://github.com/metacpan/metacpan-web/issues/1928
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome thinkgs search results are in Vietnamese if I search "dbi ldap" #1928

Closed
simbabque opened this issue Jun 22, 2017 · 5 comments
Closed

Chrome thinkgs search results are in Vietnamese if I search "dbi ldap" #1928

simbabque opened this issue Jun 22, 2017 · 5 comments

Comments

@simbabque
Copy link
Contributor

@simbabque simbabque commented Jun 22, 2017

I was searching for the team "dbi ldap" (https://metacpan.org/search?q=dbi+ldap) in Chrome Version 59.0.3071.86 (Official Build) (64-bit). To my confusion there was a Google Translate icon displayed and it asked me if I wanted to auto-translate the page because it's in Vietnamese. My Ubuntu is set to US English and I'm in Germany.

search dbi ldap

I tried to search for "dbi" (https://metacpan.org/search?q=dbi) only and "ldap" (https://metacpan.org/search?q=ldap) only. Both don't display this behavior.

search dbi

search ldap

From a cursory glance it doesn't look like there is anything in the search results with Vietnamese text. There is no language meta data in the HTML or in the HTTP response headers.

@mickeyn
Copy link
Contributor

@mickeyn mickeyn commented Jun 22, 2017

FWIW, I don't see that behavior on my machine, using chrome Version 59.0.3071.104 (Official Build) (64-bit)

Maybe it does makes sense to have either:

<meta name="google" content="notranslate" />

or setting the Content-Language.

see google's guide or this stackoverflow answer

@simbabque
Copy link
Contributor Author

@simbabque simbabque commented Jun 23, 2017

While the notranslate sounds good, I think that might also be bad for non-English speaking people that use their Chrome to translate documentation on CPAN. I'm thinking mostly Asian developers. So maybe setting the language is a better idea.

@oalders
Copy link
Member

@oalders oalders commented Nov 9, 2018

@simbabque do you have a proposal for which pages should get this header? There is some translated pod, so that might not be correct for every page.

@simbabque
Copy link
Contributor Author

@simbabque simbabque commented Nov 12, 2018

Sorry I'm a bit late to the party. I've revisited this and can't reproduce it myself any more. Maybe it was a temporary glitch. I think it's definitely not high up in the priority list. Maybe we should just forget about it.

@oalders
Copy link
Member

@oalders oalders commented Nov 12, 2018

Thanks @simbabque. We can close it for now and re-open it later if we need to.

@oalders oalders closed this Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.