Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como adicionar o Google Translate no WordPress

Vivemos em um mundo repleto de idiomas diversos. Os linguistas estimam que existam cerca de 6.000 a 7.000 idiomas diferentes em todo o mundo.

Embora muitas pessoas entendam inglês, a tradução do seu site pode valer a pena se grande parte do seu público-alvo falar outro idioma. A tradução do conteúdo garante que todos possam acessar e entender as informações que você fornece.

Ao pesquisar conteúdo sobre desenvolvimento do WordPress, podemos nos deparar com excelente conteúdo em blogs franceses ou russos. E geralmente usamos o Google Translate para entender o conteúdo, mesmo que não seja perfeito.

Neste artigo, vamos orientá-lo sobre como adicionar o Google Translate ao seu site WordPress. Isso o ajudará a atingir um público mais amplo e a melhorar a experiência do usuário para quem não fala inglês.

Tutorial em vídeo

Subscribe to WPBeginner

Se você preferir instruções por escrito, continue lendo.

Adição do Google Translate no WordPress

A primeira coisa que você precisa fazer é instalar e ativar o plug-in do Google Language Translator.

Depois de ativar o plug-in, você deverá acessar Settings ” Google Language Translator para configurar o plug-in.

Google Language Translator plugin settings

Certifique-se de que a caixa de seleção ao lado de “Plugin Status” esteja marcada.

Depois disso, você precisará selecionar o idioma padrão do seu site e os idiomas que deseja que estejam disponíveis para tradução.

Selecting languages

Agora, vamos rolar a página para baixo para encontrar a seção “Language Switcher Settings”.

Aqui, você pode personalizar a aparência do alternador. Você pode personalizar o widget de tradução flutuante em seu site:

  • Escolher se deseja exibi-lo ou não
  • Seleção de sua posição
  • Ajuste de seu tamanho
  • Alterar a cor do texto para combinar com o design de seu site.
Customizing switcher's design

Depois de personalizar as configurações do plug-in do Google Language Translator, é hora de publicá-lo em seu site do WordPress.

Agora, se você rolar a tela um pouco mais para baixo, encontrará um guia rápido para incorporar switchers ao seu site WordPress. Você pode encontrá-lo logo antes do botão “Salvar alterações” na parte inferior da página.

A quick guide for embedding Google Language Translator

Basta seguir as instruções e você terá o Google Language Translator incorporado ao seu site.

Não se esqueça de clicar no botão “Salvar alterações” antes de sair da página.

Observação: Após a publicação, talvez você perceba que o Google Translate permite que os usuários leiam uma versão traduzida do seu site e a traduzam eles mesmos.

Dessa forma, seus leitores podem até mesmo ajudar a melhorar a tradução automática de qualquer página, sugerindo melhorias para a tradução do Google. Na verdade, se você tiver uma boa base de leitores, poderá fazer com que todo o seu site seja traduzido por voluntários.

Esperamos que este artigo tenha ajudado você a adicionar o Google Translate ao seu site WordPress. Em seguida, talvez você queira conferir nosso guia sobre como traduzir um plug-in do WordPress em seu idioma e nossas escolhas de especialistas sobre os melhores temas WordPress da direita para a esquerda.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

48 ComentáriosDeixe uma resposta

  1. santa

    Does the translated website display content (translated) when people search on Google?

    • WPBeginner Support

      It is not guaranteed but it can be found on Google.

      Administrador

    • WPBeginner Support

      You’re welcome :)

      Administrador

  2. kerem turkman

    my site doesn’t have sidebars. how can i place translator widget to all my blog posts at once?

    • WPBeginner Support

      You would want to check with the support for your specific theme for what options it has available for locations.

      Administrador

  3. Jans

    For some reason google page speed insight is seeing GTranslate plugin as the one slowing down my loading time the most. Is there a way to fix this?

    • WPBeginner Support

      You would want to reach out to the plugin’s support and they would be able to assist with the loading speed :)

      Administrador

  4. gurpreet

    Hi. I tried to add the floating widget of google translate on my company’s website and chose punjabi language for translation, the main language being english. But the flag icon for punjabi is a Pakistani flag. We require an Indian flag since we are of Indian Nationality and Punjabi is spoken in Punjab state of India. Please help

  5. Pooja

    Hi Team,

    Google Language Translator plug in is also changing the name of my website that is there in the header of my website created on Wordpress.

    Can you please let me know how I can disable it from translating the name of my website.

    Regards,
    Pooja

    • WPBeginner Support

      Hi Pooja,

      You can stop Google Translate from translating a specific phrase by adding notranslate css class. For that you’ll need to edit your theme files or create a child theme.

      Inside your theme files, you need to locate the header.php file and find the line that displays your site’s title. Let’s assume that it looks like this:

      <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
      

      You need to change it to this:

      <h1 class="site-title notranslate"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
      

      Hope this helps.

      Administrador

  6. maryam

    Hi,

    I installed and used this plugin but it didn’t display on mobile devices, Does it work withe mobile devices ??

    Many thanks

  7. Niki

    Hi,

    does it work on mobile. I have added the plugin on my wordpress site. It works on computer but does not display on mobiles.

    Thanks!

  8. anil jhuria

    how to add google language translate in my wordpress site & not showing widget my page
    pls how to another opation to add google language translate

  9. Karthick

    Can I change the font of the Regional language?

  10. Sagar

    Can I add this to the primary menu?

    I want the google translate widget in menu.

  11. Amanda Payne

    Thank you so much. I had a few readers asking me why my site wouldn’t translate and now it does. I have visited your site daily learning all about WP. You are a great teacher! Thank you so much!

  12. Nujoom

    Hi I want to Make this Plugin Activate Arabic language Onload. How i can do that???

  13. Bo

    Just installed the plug-in and everything is working fine, though I’d like to improve the translation for the languages I do know. However, both when I am logged and checking out my site on a private browser, I am not able to change the translation myself.

    The plug-in page seems to suggest this is only possible in their Premium version. Is there a workaround or something I am missing?

    Thank you!

    • WPBeginner Support

      Visit the Google Translate website directly in a separate browser window. In the translate box, paste the URL of your website. Select the language you want to translate it to and hit the translate button. You should now be able to select text and improve translation.

      Administrador

  14. pankaj chavan

    Is there a way when language is changed in google translate I can change images. Any parameter by google translate

  15. Ayman SABRA

    Hi, is there a way to Ad the google translate widget somewhere in the header or top right(/left) corner?
    I am very new to all of this and I have no knowledge of coding
    Thank you

  16. Kenneth Adair

    I love this plugin but the flags disappear when my sites fully open. That is to say I can see the flags until the site has fully opened and than all that is visible is the language box with a blank space where the flags were. The wordpress raindrops theme I am using is supposedly compatible!
    But I also installed it on an obsolete them that doesn’t even show up anymore on wordpress named Techozoic and it works 100% and I can’t wait to see the customers it may bring me.

  17. Anthony

    Have you or has any one reading this article tried / used the premium WordPress Multilingual Plugin from WPML

    Are there any advantages to buying this plugin over using the free Google Translator plugin?

    • WPBeginner Support

      WPML allows you to manually translate your own site in multiple languages. On the other hand, Google Translate is an machine translation service.

      Administrador

  18. angelis

    Hello how can translate add top right or left corner thank you..

    • Alex

      Use these tags, for center, for left, or for right.
      Place one of those tags in front of the shortcode or PHP code. Then use a closing tag like this, , , or
      Place one of the closing tags at the end of your Shortcode or PHP code.

  19. Matteo Coné

    I have created a blog on “The Twenty Ten Theme. Blog at WordPress.com.” https://mc1a.wordpress.com/

    I watched the Video Tutorial, read “Adding Google Translate in WordPress” and I cannot find the word “Plugin” anywhere on my dashboard.

    The words “Plugins and Installed plugins” DO NOT appear anywhere on my dashboard.

    How do I add “plugins and installed plugins” on my dashboard.

    Can someone help please.

    Thanks
    Matteo

  20. Simon Andrew

    Having tried a few different methods to create multi-lingual sites this seems the best. Manage the translations and have them done properly, and only in the languages you need and its great. I don’t think it is particularly good if your site is in Googlish, so make sure you only add languages you have translations for and its all good

    Simon

  21. RomanMorenets

    Interesting – is therу a way to insert exact translate textarea boxes from Google Translator? For example – I have multilingual form for clients. And they have to fill it up in different languages, but if they don’t know one, then translation with google translate is acceplable. So, would be interesting to have google translate on site available for only form fields. Any idea?))

  22. WPBeginner Staff

    Yes you can simply add a class=”notranslate” attribute to the company name and Google will not translate it.

    For example:
    <h1 class="notranslate"&gtCompany Name</h1>

  23. Pierre Pascual

    Hello
    Google translation is find but I like to prevent the translation of my company name. Is this possible ? (using WordPress plugin)

  24. website4all.net

    I have to insert to each page ?. Is there is translate plugin in for all page, ie in header ?

  25. Hammad Rafique

    Is there any other plugin, which works just like google translate for chrome? I mean, it changes the site’s content according to country’s IP address? If I open my blog from France then its content should be in french?

  26. Krish Murali Eswar

    It would be useful, for all your posts, to include a set of demo screen shot pre- and post-installation of plugins that you cover. Demo screen shot of how the plugin works will make our lives lot easier to decide for/against the use of plugin.

  27. Ana

    when I choose English to translate everything works ok, but when I choose Spanish to return to the original page I added in below the names of the categories and texts not translate well.

    Help me , please

  28. Ron Klaren

    Ehm.. if it really is better then nothing, shouldn’t it be used on wpbeginner as well? :-D

    • Editorial Staff

      No because most of our users use Chrome browser which automatically loads Google Translate for them if their default language is something other than English.

      Administrador

  29. Lee Johnson

    As a linguist I have to agree that Google Translate can complicate matters. I would suggest f you cannot have dedicated pages in chosen language(s) then use Google Translate but add a rider saying that Google Translate is only a program and not perfect.

  30. ros

    I just uninstalled the global translation plugin after reading write up on SEO’s issues – duplicated contents and so forth. SO this is nothing like that, right? Btw if I were to create my own translated page, is it wise to do it in subdomain ie www.(MyUrlAddress).com/English or is it better to do it on different domain. Thanks

    • Editorial Staff

      No this plugin has no impact on your SEO because it is only doing things on user side of things. If you were to create your own translated domain, then both subdomains or directory works fine.

      Administrador

      • Rose

        Hi

        Thanks to all for replying. I will activate the tool then , better to have something than nothing :) and will work on the translations soon. Thanks

        p.s: yes, some translations to (my native language) do sound ugly, especially the categories and tags :)

  31. Bernard Loo

    Google translator is better than nothing, but it can be misleading. Besides most languages have different structures: verbs are not placed in the same order.

    • Karsten

      I can not agree. Translation from English to German is not “better than nothing”. It’s just horrable. In most cases it’s not even possible to guess the meaning of an article.
      I can’t tell if it’s that worse in other languages too, but for EN DE it’s a No-Go.

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.