Wordpress Translation Plugin
This plugin has a widget version, the Wordpress Translator Widget, whose latest version might be downloaded from the official site at Wordpress Plugin Repository; it should be the preferred plugin for those completely unfamiliar with PHP, HTML and Wordpress in general.
Dnghu.php is the very, very simple PHP script I am using for this blog and other websites, which adds translations from and into all language pairs offered by Google Translate. I prepared the first script to be able to offer our European Union Language Policy and to make our Indo-European grammar available in any possible language through machine web translation, and it is currently used in all untranslated websites of Dnghu.
Unlike other scripts, which are also Wordpress translator utilities, dnghu.php does not use flag images, it is probably the simplest possible script you can write to add this functionality, it doesn’t add any link to this or any other site (apart from Google Translate), and it should be valid XHTML.
These are the scripts prepared for different language pairs, named “dnghu_ln_x.php”, where ln is the original language code to translate from (the main language your blog is written in), and _x being either v, which stands for vertical (sidebar) script (like the one used in Europe’s Indo-European), h, for a horizontal one (like the one which appears in this blog), and menu for a simple menu (like the one in the Spanish version of CarlosQuiles.com), similar to the Google gadget menu, but fully customizable and without its logos and links.
It worked from Wordpress 2.0 to Wordpress 2.8.5; I haven’t tried it out in other versions. However, if it works in this website, it probably works in the latest Wordpress version.
Installation (you should know some basic HTML to deal with files, PHP is not necessary):
- Upload the dnghu_ln_x.php file to your plugins folder, usually wp-content/plugins/
- Activate the plugin on the Wordpress plugin screen.
- Go to the directory of your Wordpress theme, usually in wp-content/themes/ – if you haven’t selected a different one, it is the /default/
- Open the file where you want the script to appear, normally header.php (if you want it in the header), sidebar.php (if you want it in the sidebar) or footer.php
- Add <?php transdukete(); ?> exactly where you want the translation utility to appear within the part of the page you’ve already chosen
Download
NOTE: ZIP package includes both the dnghu_v(ertical), the dnghu_h(orizontal) and the dnghu_menu versions – you should activate only one plugin in the same blog.
- 23 Oct 2009 – v. 1.6.1, From English, into all language pairs from Google: Wordpress English Translator
- 23 Oct 2009 – v. 1.6.1, From Dutch, into all language pairs of Google: Wordpress Nederlands Vertaler
- 23 Oct 2009 – v. 1.6.1, From German, into all language pairs of Google: Wordpress Deutsch Übersetzer
- 23 Oct 2009 – v. 1.6.1, From French, into all language pairs of Google: Wordpress Traducteur Français
- 23 Oct 2009 – v. 1.6.1, From Italian, into all language pairs of Google: Wordpress Traduttore Italiano
- 23 Oct 2009 – v. 1.6.1, From Portuguese, into all language pairs of Google: Wordpress Tradutor Português
- 23 Oct 2009 – v. 1.6.1, From Spanish, into all language pairs of Google: Wordpress Traductor Español
Here are the plugins for the lesser used languages – you might request individual upgrades of these plugins to the newest version at cquiles@dnghu.org. We recommend you to use the IndoEuropean-Translator-Widget, though, which offers translations from and into all language pairs.
Customizing:
If you know something about CSS you can open the file styles.css (in your theme directory) and add new declarations:
- In the horizontal version, for the .div with class=”dnghu” .
- In the vertical version, for the .div and the .ul, both with class=”dnghu” .
- In the menu version, for the menu with class=”menulang”.
Changes and other problems:
If you want other language pairs, or the whole code linking only to Altavista, Google, or even other web translators, or maybe ask a question or make a suggestion, contact me. There are a thousand possible combinations, and I simply cannot prepare them all in advance. You can find me in cquiles@dnghu.org.
Licence
This code is licensed under the GNU GPL.
Popularity: 36% [?]

February 7th, 2007 at 4:42 pm
[...] Wordpress Translation Plugin offre des traductions faites par Google, Altavista et Tranexp. Ici, pas de drapeaux, mais des liens texte avec les langues. Faut aimer. Je ne suis fan de ces outils de traduction. J’ai visité une boutique Zlio hier qui est traduite en plusieurs langues et qui passe justement par Altavista. C’est planètefoot. Et le Paris Saint Germain devient German Holy Paris !! Elle est bien bonne ! Mon ancien blog Nagchampa était disponible en plusieurs langues et j’ai pas mal d’amis anglophones et germanophones qui passaient par là et trouvaient les traductions catastrophiques… [...]
February 16th, 2007 at 2:32 pm
[...] Wordpress Translation Plugin [...]
February 21st, 2007 at 11:03 am
[...] http://carlosquiles.com/indo-european-language-blog/wordpress-translation-plugin/ [...]
March 12th, 2007 at 8:15 pm
[...] more approachable outside of the US/CA/UK/AU belt, I’ve added corlosquiles nice, simple translation plugin for wordpress to the sidebar. Machine translation is still rough, ugly, and messy. But it’s getting better, [...]
March 14th, 2007 at 2:15 am
[...] of the comprehensive list of translator plugins on Lorelle’s blog and decided to go for the Wordpress Translation Plugin, as this seemed to have a good range of languages, and simple [...]
March 20th, 2007 at 1:59 pm
[...] Dnghu_en_v 1.0 By Carlos Quiles.This Wordpress Translation Plugin is the very, very simple PHP script, which adds translations from and into most language pairs offered by Google, Altavista and Tranexp. Unlike others Wordpress translator utilities, dnghu does not use flag images, it is probably the simplest possible script you can write to add this functionality, and it should be valid XHTML. [...]
March 24th, 2007 at 7:46 pm
[...] Wordpress Translation Plugin by carlos quiles is a very simple php script that adds translations from and into most [...]
March 30th, 2007 at 3:10 am
[...] Dnghu_en_v 1.0 By Carlos Quiles. This Wordpress Translation Plugin is the very, very simple PHP script, which adds translations from and into most language pairs offered by Google, Altavista and Tranexp. Unlike others Wordpress translator utilities, dnghu does not use flag images, it is probably the simplest possible script you can write to add this functionality, and it should be valid XHTML. [...]
April 25th, 2007 at 1:52 am
[...] Dnghu Translator Plugin – This is another simple translator works in similar way as WP-Translate and Robs Translator but does not uses the flag images that is it provides the links for translation only with the text, not flag images. You need to select the correct download for this plugin as it varies depending on the base language and display criteria (vertical / horizontal rows). Good thing about this plugin is that it gives you the maximum number of language pair possible automatically from Google, Babelfish and Tranexp. [...]
April 26th, 2007 at 10:58 pm
[...] Translate, na barra lateral) – inglês, espanhol, francês, italiano, russo, entre outros (plugin DNGHU, no [...]
June 16th, 2007 at 11:36 am
[...] Dnghu Translator Plugin (http://carlosquiles.com/indo-european-language-blog/wordpress-translation-plugin/) [...]
July 7th, 2007 at 8:46 am
[...] Visit [...]
July 9th, 2007 at 10:51 am
[...] Visit [...]
July 15th, 2007 at 10:06 am
[...] Más información en Translator Plugin for Wordpress. [...]
July 17th, 2007 at 12:07 pm
[...] Wordpress Translation Plugin supports Esperanto from version 1.2, i.e. from English into other language [...]
July 18th, 2007 at 2:18 pm
[...] Wordpress Translation Plugin [...]
August 26th, 2007 at 3:03 pm
[...] Visit [...]
September 16th, 2007 at 12:55 am
[...] the WordPress Translation plug-in, which translates the current page into one of seventeen languages, including Spanish, [...]
September 28th, 2007 at 9:04 am
[...] Visit [...]
November 2nd, 2007 at 12:59 pm
[...] la même occasion j’ai ajouté le plugin de traduction de blog DNGHU (à télécharger ici). Il permet de traduire, via des sites de traduction comme Google ou Altavista de traduire [...]
November 24th, 2007 at 4:37 pm
[...] – Wordpress Global Translator Plugin – Angsuman
December 8th, 2007 at 12:11 am
[...] pretty cool. I found it over at carlosquiles.com that was directly linked from the WordPress plugin [...]
December 24th, 2007 at 9:15 pm
[...] Wordpress Translation Plugin Translate Into:English • Afrikaans • العربية • Български • Català • Česky • Cymraeg • Dansk • Deutsch • Ελληνικά • Español • Esperanto • فارسی • Français • Hrvatski • Bahasa Indonesia • Íslenska • Italiano • עברית • Latina • 한국어 • Magyar • Bahasa Melayu • Nederlands • 日本語 • Norsk (Bokmål) • Polski • Português (brasileiro) • Română • Русский • Slovenščina • Srpski • Svenska • Suomi • Tagalog • ไทย • Türkçe • Українська • 中文 / 漢語 [...]
December 24th, 2007 at 9:37 pm
[...] is a similar Translator Plugin, on which this widget is based, for those familiar with WordPress and its PHP/HTML [...]
January 22nd, 2008 at 2:15 pm
[...] It is one of the simplest widgets available for this task, as it is based on Dnghu’s simple translator plugin at http://carlosquiles.com/indo-european-language-blog/wordpress-translation-plugin/. [...]
June 6th, 2008 at 9:11 am
[...] Wordpress Translation Plugin Translate Into:English • العربية • Български • Català • Česky • Cymraeg • Dansk • Deutsch • Ελληνικά • Español • فارسی • Français • हिन्दी • Hrvatski • Íslenska • Italiano • עברית • Latina • 한국어 • Magyar • Nederlands • 日本語 • Norsk (Bokmål) • Polski • Português (brasileiro) • Română • Русский • Slovenščina • Srpski • Svenska • Suomi • Tagalog • Türkçe • Українська • 中文 / 漢語 [...]
June 18th, 2008 at 12:39 pm
[...] Translation Plugins : Ce plugins affiche les langues, sans images, juste un lien texte…dommage. Vos liens seront sous la forme de “www.site.fr/en”, comme le précédent plugins. [...]
July 11th, 2008 at 4:52 pm
Hello! Please forgive me if this post is inappropriate, but I couldn’t find a direct email address on your blog. I’m Anton and I’m launching my new blog dealing with language translation issues and would appreciate the opportunity to discuss mutual collaboration. You can contact me if you like at anton [at] icanlocalize {dot} com. Thanks!
July 24th, 2008 at 1:33 pm
[...] Wordpress Translation Plugin [...]
October 25th, 2008 at 9:55 am
[...] Wordpress Translation Plugin [...]
February 28th, 2009 at 11:50 am
[...] Wordpress Translation Plugin [...]
June 15th, 2009 at 10:16 pm
[...] WordPress Translation Plugin by the Indo-European Language Blog offers another translation WordPress Plugin which adds translations from and into most language pairs offered by Google, Altavista and Tranexp. It doesn’t use flags but the names of the language in their language in text links. It’s very simple and easy to use and a great option if you don’t want to use flags to represent the different languages, creating a cleaner look on your blog’s design. [...]
October 9th, 2009 at 1:56 pm
[...] Wordpress Translation Plugin [...]
October 14th, 2009 at 1:24 pm
Where is the afrikaans?
October 24th, 2009 at 12:25 am
Indoeuropean Translator Widget
Versione 1.2.2 | Di Carlos Quiles
wordpress 2.8.5
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /…/…/…./wp-content/plugins/indoeuropean-translator-widget/indoeuropean-translator-widget.php on
what happen ?
thank’s a lot
October 24th, 2009 at 10:18 am
@barabba
There was a problem with the code. My fault.
I think version 1.2.3 solves that.
Thanks for the hint.
October 24th, 2009 at 10:50 am
[...] examples of the output of the different versions, please visit the site of the WordPress Translation Plugin at CarlosQuiles.com. In the sidebar of this blog you can see an example of the horizontal version. [...]
October 24th, 2009 at 12:34 pm
[...] Wordpress Translation Plugin [...]
November 13th, 2009 at 12:06 am
[...] I think you are looking for this one: Wordpress Global Translator Plugin Not sure if this is the same one or a different one: Wordpress Translation Plugin [...]
February 8th, 2010 at 8:20 pm
Is welsh included
April 30th, 2010 at 11:54 am
That’s a great plugin, I’ve been using it for a while and I can only say its great
May 1st, 2010 at 8:50 am
I was looking for an automatical translation wordpress plugin and i found your plugin. I am going to try it on my blog. Thank you.
June 13th, 2010 at 10:02 am
[...] est possible d’utiliser un plugin de traduction pour Wordpress (ndlr: pour ConseilsMarketing.fr afin de faire des tests nous avons utilisé l’outil de [...]