Indo-European languages & Europe

Proto-Indo-European Language, Indo-European Languages & European Union Language Policy

Grammar

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):

  1. Upload the dnghu_ln_x.php file to your plugins folder, usually wp-content/plugins/
  2. Activate the plugin on the Wordpress plugin screen.
  3. 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/
  4. 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
  5. 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.

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: 32% [?]


43 Responses

  1. Les plugins Wordpress pour la traduction et les blogs multilangues at Fran6art, le blog Says:

    [...] 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… [...]

  2. Indo-European language blog » Blog Archive » More Wordpress Translation Plugins: now also Traducteur - Uebersetzer - Traductor - Traduttore - Tradutor - Vertaler Says:

    [...] Wordpress Translation Plugin [...]

  3. Wordpress Plugins Themes Download » Blog Archive » Wordpress Translation Plugin Says:

    [...] http://carlosquiles.com/indo-european-language-blog/wordpress-translation-plugin/ [...]

  4. Leancode » Automatic Translation Says:

    [...] 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, [...]

  5. Lost In Translation - Hopefully Not » Blog-Op Says:

    [...] 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 [...]

  6. My Favorite Wordpress Plugins - II at Vinod Live! Says:

    [...] 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. [...]

  7. Weblog Tools » Blog Archive » 6 Plugins to Translate Your Blog Says:

    [...] Wordpress Translation Plugin by carlos quiles is a very simple php script that adds translations from and into most [...]

  8. My Favorite Wordpress Plugins - II Says:

    [...] 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. [...]

  9. Language Translation - WordPress Plugins Review | Ask Pankaj & Arnab Says:

    [...] 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. [...]

  10. novasinapse.com » Tutorial - Autoria em Blogs. Informação Digital Qualificada? Says:

    [...] Translate, na barra lateral) – inglês, espanhol, francês, italiano, russo, entre outros (plugin DNGHU, no [...]

  11. Automatic machine translation for your blog « Directmars Says:

    [...] Dnghu Translator Plugin (http://carlosquiles.com/indo-european-language-blog/wordpress-translation-plugin/)  [...]

  12. WP Plugins DB » Plugin Details » Dnghu_en_v Says:

    [...] Visit [...]

  13. WP Plugins DB » Plugin Details » Dnghu_en_h Says:

    [...] Visit [...]

  14. Academia Biblos - Noticias » Plugin Wordpress Traductor de español a una docena de idiomas; English, Deutsch, français, italiano, Nederlands, Svenska Says:

    [...] Más información en Translator Plugin for Wordpress. [...]

  15. Esperanto or English » Wordpress Translation Plugin into Esperanto and other languages Says:

    [...] Wordpress Translation Plugin supports Esperanto from version 1.2, i.e. from English into other language [...]

  16. Indo-European language blog » Blog Archive » Wordpress Translation Plugin (Catalan, Polish, Ukrainian, Esperanto, etc.) - update v. 1.21 due to XHTML invalid code Says:

    [...] Wordpress Translation Plugin [...]

  17. WordPress Plugins Database » Plugin Details » Dnghu_nl_h Says:

    [...] Visit [...]

  18. New Translation, Mobile, and Social Features | The Next Chamber Says:

    [...] the WordPress Translation plug-in, which translates the current page into one of seventeen languages, including Spanish, [...]

  19. WordPress Plugins Database » Plugin Details » Dnghu_it_h Says:

    [...] Visit [...]

  20. Nouveau Thème - Cutline 3 Says:

    [...] 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 [...]

  21. » Versione inglese del mio blog Says:

    [...] – Wordpress Global Translator Plugin – Angsuman

  22. Become internationally friendly by making your posts easy to read for all languages | Wingnut SEO Says:

    [...] pretty cool.  I found it over at carlosquiles.com that was directly linked from the WordPress plugin [...]

  23. Indo-European language blog » Blog Archive » New Version for Spanish Translation Plugin and Translator Widget Released Says:

    [...] 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 • Українська • 中文 / 漢語 [...]

  24. Indo-European Languages Translator & Dictionary » Blog Archive » Indo-European Translator Widget for WordPress Says:

    [...] is a similar Translator Plugin, on which this widget is based, for those familiar with WordPress and its PHP/HTML [...]

  25. Indoeuropean Translator Widget_Wordpress plugin Says:

    [...] 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/. [...]

  26. Indo-European languages of Europe » Blog Archive » Wordpress Translation Plugin: final upgrade to ‘Indoeuropean Translator Widget’ - now also Swedish, Danish, Norwegian, Polish, Greek, Russian, Polish, Romanian, Finnish, Chinese, J Says:

    [...] 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 • Українська • 中文 / 漢語 [...]

  27. Geekeries.fr - Actualités High-Tech | Votre blog en multilangue avec les plugins Wordpress Says:

    [...] 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. [...]

  28. Anton Says:

    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!

  29. Indo-European languages of Europe » Blog Archive » Wordpress Translation Plugin - now using Google Translation from and into Swedish, Finnish, Danish, Norwegian, Polish, Czech, Romanian, Bulgarian, Hindi, Arabic, Japanese, Chinese, etc. Says:

    [...] Wordpress Translation Plugin [...]

  30. Wordpress Plugins : End is Begin Says:

    [...] Wordpress Translation Plugin [...]

  31. Indo-European languages & Europe » Blog Archive » Wordpress Translation Plugin - Now Google Translator from Turkish, Hungarian, Hebrew, Serbian, Slovak, Slovenian, Catalan, Galician, Indonesian,… Says:

    [...] Wordpress Translation Plugin [...]

  32. Translation and Multilingual WordPress Plugins « Lorelle on WordPress Says:

    [...] 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. [...]

  33. Indo-European languages & Europe » Blog Archive » WordPress Translation Plugin – Added Afrikaans, Belarusian, Persian, Welsh, Irish, Malay, Macedonian, Yiddish..The newest languages in Google Translate Says:

    [...] Wordpress Translation Plugin [...]

  34. Nadine Says:

    Where is the afrikaans?

  35. barabba Says:

    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

  36. Indo-European Says:

    @barabba
    There was a problem with the code. My fault.
    I think version 1.2.3 solves that.
    Thanks for the hint.

  37. WordPress Indoeuropean Translator Widget, version 1.2.3 – newest languages from Google Translate added, and new menu version at Indo-European Languages Translator & Dictionary Says:

    [...] 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. [...]

  38. Indo-European languages & Europe » Blog Archive » Wordpress Translation plugin errors corrected – version 1.6.1 with Google Translate Menu Says:

    [...] Wordpress Translation Plugin [...]

  39. what is the wordpress plugin is that people can easily make english and french pages? - QuestionBin - Intelligent Answers for Smart Questions::Answer Says:

    [...] 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 [...]

  40. Chris Says:

    Is welsh included

  41. English Lithuanian Translation Says:

    That’s a great plugin, I’ve been using it for a while and I can only say its great

  42. V.C Says:

    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.

  43. Comment lancer un blog en Anglais et en Français ? Says:

    [...] 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 [...]

Leave a Comment