Nous vivons dans un monde rempli de langues diverses. Les linguistes estiment qu’il existe entre 6 000 et 7 000 langues différentes dans le monde.
Même si de nombreuses personnes comprennent l’anglais, la traduction de votre site peut s’avérer utile si une grande partie de votre public parle une autre langue. La traducteur/traductrice permet de s’assurer que tout le monde peut accéder aux informations que vous fournissez et les comprendre.
En recherchant du contenu sur le développement/développeuse WordPress, nous pouvons tomber sur d’excellents contenus sur des blogs français ou russes. Et nous utilisons souvent Google Traducteur/traductrice pour en tirer un sens, même si ce n’est pas parfait.
Dans cet article, nous vous guiderons sur la façon d’ajouter Google Traducteur/traductrice à votre site WordPress. Cela vous aidera à atteindre un public plus large et à améliorer l’expérience des utilisateurs/utilisatrices qui ne parlent pas anglais.
Tutoriel vidéo
Si vous préférez des instructions écrites, continuez à lire.
Ajouté Google Traducteur/traductrice dans WordPress
La première chose à faire est d’installer et d’activer l’extension Google Language Translator.
Après avoir activé l’extension, vous devez vous rendre dans Réglages » Google Language Translator pour configurer l’extension.
Confirmez-vous que la case située à côté de l’état de l’extension est cochée.
Ensuite, vous devrez sélectionner la langue par défaut de votre site et les langues que vous souhaitez voir disponibles pour la traduction.
Défilons maintenant vers le bas de la page pour trouver la section » Réglages du sélecteur de langue « .
Ici, vous pouvez personnaliser l’aspect et la convivialité du commutateur. Vous pouvez personnaliser le widget de traduction flottant sur votre site en :
- Choisir de l’afficher ou non
- Sélectionné sa position
- Ajustement de sa taille
- Modifier la couleur du texte pour l’adapter au design de votre site.
Après avoir personnalisé les réglages de l’extension Google Language Translator, il est temps de la publier sur votre site WordPress.
Si vous défilez un peu plus bas, vous trouverez un guide rapide pour le Contenu embarqué dans votre site WordPress. Vous le trouverez juste avant le bouton « Enregistrer les modifications » en bas de la page.
Il suffit de suivre les abonnés pour que Google Language Translator soit Embarqué sur votre site.
N’oubliez pas de cliquer sur le bouton « Enregistrer les modifications » avant de quitter la page.
Note : Après la publication, vous remarquerez peut-être que Google Translate permet à vos utilisateurs/utilisatrices de lire une version traduite de votre site et de la traduire eux-mêmes.
Ainsi, vos lecteurs peuvent même aider à améliorer la traduction automatique de n’importe quelle page en suggérant des améliorations à la traduction de Google. En fait, si vous avez une bonne base de lecteurs, vous pouvez faire traduire l’ensemble de votre site par des bénévoles.
Nous espérons que cet article vous a aidé à ajouter Google Translate à votre site WordPress. Ensuite, vous voudrez peut-être consulter notre guide sur la façon de traduire une extension WordPress dans votre langue et nos choix d’experts des meilleurs thèmes WordPress de droite à gauche.
Si vous avez aimé cet article, veuillez alors vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et Facebook.
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
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.
Administrateur
Nicky
Thank you for this
WPBeginner Support
You’re welcome
Administrateur
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.
Administrateur
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
Administrateur
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
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:
1-click Use in WordPress
You need to change it to this:
1-click Use in WordPress
Hope this helps.
Administrateur
maryam
Hi,
I installed and used this plugin but it didn’t display on mobile devices, Does it work withe mobile devices ??
Many thanks
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!
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
Karthick
Can I change the font of the Regional language?
Sagar
Can I add this to the primary menu?
I want the google translate widget in menu.
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!
Nujoom
Hi I want to Make this Plugin Activate Arabic language Onload. How i can do that???
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.
Administrateur
pankaj chavan
Is there a way when language is changed in google translate I can change images. Any parameter by google translate
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
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.
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.
Administrateur
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.
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
Editorial Staff
Hi Matteo,
You are using WordPress.com which is very different from WordPress.org. See our comparison:
https://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/
Administrateur
Matteo Coné
Dear Editorial Staff,
Thank you for your prompt answer and pointing out the differences between .com and .org
Best regards,
Matteo
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
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?))
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">Company Name</h1>
Pierre Pascual
Hello
Google translation is find but I like to prevent the translation of my company name. Is this possible ? (using WordPress plugin)
website4all.net
I have to insert to each page ?. Is there is translate plugin in for all page, ie in header ?
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?
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.
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
WPBeginner Support
Please contact the plugin support.
Administrateur
Ron Klaren
Ehm.. if it really is better then nothing, shouldn’t it be used on wpbeginner as well?
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.
Administrateur
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.
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.
Administrateur
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
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.
Editorial Staff
Totally agreed Bernard. It is not perfect, but it is better than nothing
Administrateur
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.