Zen Cart Logo
Forums / All Other Contributions/Addons / Google Translate Kills SSL

Google Translate Kills SSL

Locked

Views: 3,336

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Sep 2009, 3:00 PM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Google Translate Kills SSL

Hi!

I just noticed that if someone is using the google translate top frame, it kills all SSL functionally in ZC. All SSL pages are non secure, as the data appears to be sent to google first then back again via regular http.

I added the tag <meta name="google" value="notranslate"> to my html_header to stop this behavior.

19 Oct 2009, 4:40 AM
#2
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: Google Translate Kills SSL

Hi Dharma,

I've added a Google Translator sidebox to my site by making a banner out of Google's 'Translate' code and putting it in a sidebox. This seems to have exactly the same effect as using the free Google Translate Sidebox Module. But it worries me that anyone using it to translate the main page will be taken via Google to an unsecured page if they click on 'log in'.

dharma:

I just noticed that if someone is using the google translate top frame, it kills all SSL functionally in ZC. All SSL pages are non secure, as the data appears to be sent to google first then back again via regular http.
I added the tag <meta name="google" value="notranslate"> to my html_header to stop this behavior.

Dharma, does this mean that after you added the tag, people using the Google Translate sidebox on your site simply will never be directed to a page that's supposed to be secure? Ie they can't log in using their own language?

I would prefer to add your tag rather than put people's information at risk. But not being a coder, I don't fully understand your instructions. Whereabouts is html_header located? and would your fix work for the way I've set up the Google Translator sidebox?

All the best
Caf
http://www.my-bookcafe.com/shop/index.php?main_page=index&language=en

19 Oct 2009, 11:59 AM
#3
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: Google Translate Kills SSL

I've just worked out the answers to my own questions.
Inserting that code into /var/www/html/shop/includes/templates/CUSTOM/common/html_header.php makes the Google translator stop working entirely, thus making the sidebox redundant.
It looks as if the only secure way to add languages to Zen Cart is with proper language modules rather than all-purpose translators.