I am using the Google Translate for Websites and have used the "Wizard" to
generate the following code:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
However, when I place it into the html code, it first of all locks up my
html editor and then does not show up on the webpage anywhere (site is
underdevelopment so it is not yet live and staged on my computer for the
time being. I can view the page via a browser and have viewed it using
Google Chrome but it still does not show up).
The web page is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
xml:lang="en"> and utilizes CSS.
Any ideas why I am running into this problem?
--
You received this message because you are subscribed to the Google Groups
"General" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-translate-general/-/L0lcAjhvoqwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-translate-general?hl=en.