You are loading Google's JavaScript with an http
URL, even when your page is served with https
. The browser rejects that, because it's insecure to include non-https
content in an https
page.
You need to do this:
<script type="text/javascript" src="//translate.google.com/...
rather than specifying the URL as http://translate.google.com/...
By starting the URL at the double-slash, the browser will use whichever of http
or https
the page itself is using.