Multilanguage Wordpress-MU with qTranslate

My Blog is based on Wordpress-MU and should be readable in English and German alike. For that purpose there exists a whole Bunch of Plugins, which differ in functionality, architecture and quality. For this blog I’d like to have these features, by priority:

  1. Compatibility with Wordpress-MU 1.3.3 / Wordpress 2.3.3
  2. Wordpress itself also has to support multiple languages
  3. Posts and Pages have to be available in multiple languages
  4. RSS feeds (complete, by tag, by category) should be available for each language
  5. Localization of all titles and subtitles (Blog, Posts, Pages, Category, Widget)
  6. Wordpress-MU itself shall be kept unchanged, no php hacking
  7. The user should be presented with the page in it’s browsers default language, but should be able to change the appearance afterwards.

After taking a brief look at some Plugins (xLanguage, Gengo), I quickly found qTranslate, which by the way also has the most polished Website. That also tells a lot about how much attention the author pays to the details.

The installation following the instructions was easy and painless and most features are available. Technically qTranslates works by putting all localized texts between language tags like [lang_foo]Foo Titel[/lang_foo][lang_bar]Bar Titel[/lang_bar]. For the most important editors, like posts, pages and categories, there are new editors available:

With these tags you can also localize the contect anywhere else. When these tags show up somewhere on the page, it’s most likely not qTranslate’s fault, but then something is directly accessing the text instead of using some method call into which qTranslate can hook into.

  • Blogtitle: Works, but language tags show up in some places, like the footer.
  • Bloguntertitle: OK
  • Post: OK
  • Tags: NOK
  • Widgettitle: OK
  • Kategorie: OK
  • Link-Category: NOK
  • RSS-Feeds komplett: OK
  • RSS-Feeds nach Kategories: OK, although the URL contains the category in the default language
  • RSS-Feeds nach Tags: OK

With most of my requirements working, I can live with the minor shortcoming that tags and link categories cannot be localized. Additionally qTranslate does not work in the main blog in case you use directories instead of subdomains for subblogs, like I do.

What needs to be improved is the german default Theme, which you should install if you want to get your page displayed correctly in german. Unfortunatly there’s a problem finding the right version:

  • The Theme for Wordpress 2.3.3 has to be extracted manually from the complete german Wordpress 2.3.3 archive. But with that version the localization is not complete.
  • The current version for Wordpress 2.5 is more complete in the localization, but uses Wordpress functions that did not exist for Wordpress 2.3.3!

So you have to judge for yourself, if you can live with Version 2.3.3 or if you want to modify one theme or the other, or maybe install a completely different theme.

Overall I can summarize that I’m really happy with qTranslate!

Tags: , , ,

6 Responses to “Multilanguage Wordpress-MU with qTranslate”

  1. babywalk3r Says:

    can i ask, how you solve the blog title problems?? it seems that u has already fix on your blog, thanks

  2. andreas Says:

    In the General Options page, I have set the tagline to:
    [lang_de]Verschiedenste Aspekte aus meinem Leben.[/lang_de][lang_en]Various Aspects of my Life.[/lang_en]

    You can do this in many places, even if qTranslate doesn’t offer specific fields for the languages. The same approach works for the widget titles, too.

  3. Robert Says:

    HyHy

    Vielleicht kannst Du mir helfen. Ich hab bereits das qtranslate widget installiert und läuft auch daran liegts nicht. Kann beim schreiben deutschen und englischen Titel eintragen. Was mir fehlt is die Möglichkeit das die User zwischen Deutsch und Englisch wählen können. Am besten natürlich wenn direkt unter der Blogüberschrift die entsprechende Flagge und dann Text dazu. (Zum Beispiel: This Blog in english / Dieser Blog in deutsch.) Ich hab kein Plan wie ich das hinkriegen soll bzw wo ich dieses “Widget” überhaupt installieren soll. Vielleicht kannst mir helfen. Wär super wenns klappt.

    Robert

  4. andreas Says:

    Hi Robert,

    ich hab auch nicht viel mehr gemacht, als das Widget zu installieren. Als Titel habe ich :”[lang_de]Sprache[/lang_de][lang_en]Language[/lang_en]” eingegeben, und dann einfach die checkbox “Text and Image” ausgewählt.

    Aber wie ich gerade in deinem Blog gesehen habe, klappt es ja mittlerweile. Nur den Titel würde ich noch anpassen :)

  5. Service Geist » Blog Archive » Mehrsprachig bloggen Says:

    [...] kann ich momentan gut leben. Wer Informationen zu anderen Möglichkeiten sucht dem sei folgende Seite ans Herz gelegt. Dort werden einige PlugIns beleuchtet, die Mehrsprachigkeit unterstützen. Bei dem [...]

  6. Service Geist » Blog Archive » Additional language for the Blog Says:

    [...] information on available PlugIns for WordPress that support several languages you can check this article that is looking closer into this. Attention: When using two WordPress instances you need to choose [...]

Leave a Reply