google chrome translater - theme 'aardvark'

google chrome translater - theme 'aardvark'

by Daniel Garcia Sanchez -
Number of replies: 6

Hi! smile This is my issue: when I access to my moodle site with google chrome, automatically this browser displays me a message that says: "your site is written in gallego. Do you want translate it?" And this isn't correct, because my site is in lenguage "internacional spanish"

I'd like know how I can remove this message in order to it doesn't display anymore. My theme is aardvark and my moodle is the latest version (Moodle 2.2.2+)

Thanks in advance, Daniel

Average of ratings: -
In reply to Daniel Garcia Sanchez

Re: google chrome translater - theme 'aardvark'

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

As this is a browser function and not related to moodle settings I doubt it  can be turned off by any moodle settings/theme. I was recently on an American electronics site and using google chrome which asked me if I wanted to translate it from Serbian!!! Perhaps it is Google Chrome who need to improve their language detection process smile

In reply to Daniel Garcia Sanchez

Re: google chrome translater - theme 'aardvark'

by Mary Evans -

If I were you I would make sure each individual browser is set correctly. Each browser has language settings. It could be you have not yet set this in Chrome.

Cheers

Mary

In reply to Mary Evans

Re: google chrome translater - theme 'aardvark'

by Daniel Garcia Sanchez -

Hi! Thanks for your answers. I found a solution in stackoverflow.com, that is adding this code in the <head>

<meta name="google" value="notranslate">

With this, google chrome won't translate anything. But I don't how add this code safely in moodle (2.2.2). Could you help me, please?

Regards, Daniel

In reply to Daniel Garcia Sanchez

Re: google chrome translater - theme 'aardvark'

by Daniel Garcia Sanchez -

I solved it wink I reply myself. I add that code to Aditional HTML, that is in Site Administratior > Appaerance, and now google chrome doesn't display this message.

Thanks for your help, Daniel

In reply to Daniel Garcia Sanchez

Re: google chrome translater - theme 'aardvark'

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Glad its sorted for you Daniel big grin- although it may be worth noting that if anyone else does want to translate your page (say for example you had a French speaker visiting your site) on Google Chrome, this would prevent Chrome's translation working.

This may not be an issue for you, I'm just posting it here to make others aware if they are searching for similar information smile

Richard