adding google web translator

  • Unknown's avatar

    can anyone do a step by step for me? I want to put a translator tab on my posts but the google instructions assume I know anything…LOL. here are their directions but I can’t even find where to start. I’m using the Fictive Theme

    Paste this code onto your website:
    <meta name=”google-translate-customization” content=”51998f4fab06e490-f8af7712d15a9b76-gc7405332d73f1644-f”></meta>

    Copy and paste the following code snippets onto every page you want to translate
    Place this meta tag before the closing </head>

    Place this snippet where you’d like to display the Website Translator plugin on your page:
    <div id=”google_translate_element”></div><script type=”text/javascript”>
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, ‘google_translate_element’);
    }
    </script><script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>

    Give it a spin!

    Now, unless you selected the automatic display mode option, you should see a language selector on your page.
    Now, unless you selected the automatic display mode option, you should see a language selector on your page.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    We bloggers do not have FTP access to blogs hosted by WordPress.COM and we bloggers cannot install any plugins, we cannot use Microsoft or Google translation widgets or any others, as they are JavaScript and it’s stripped out to preserve security on this multiuser blogging platform. http://en.support.wordpress.com/code/
    http://en.support.wordpress.com/code/#javascript

    However, I have translation on my WordPress.com blogs. There are two workarounds and you will find them here > http://onecoolsitebloggingtips.com/2011/02/14/translation-widget-for-wordpress-com-blogs/
    Note: You can copy and paste the code on my Translations page and then replace every occurrence of my blog’s URL in the code with your own blog’s URL.

  • The topic ‘adding google web translator’ is closed to new replies.