“the j stands for Jersey”
about me | research blog | wordpress plugins | jQuery plugins

10 January, 2010

qTranslate and multilingual META tags

I use WordPress with qTranslate, but I needed to have multilingual META tags which qTranslate doesn’t support – so I wrote a plugin to do the job myself. It’s pretty basic, but I thought I would share in case anyone else needs something similar.

Plugin can be found on WordPress’ Plugin site here: qTranslate Meta at WP Plugin Directory.

For users of qTranslate META 0.9.1 and older, to make the plugin work on a “static” homepage you should change the title hook used from single_post_title to wp_title (in qtranslate-meta.php, line 29). As of version 1.0.0, you can now set this directly from the plugin’s setting page, without having to edit any PHP code.

Thanks

I’d like to thank the following people for their contributions (in chronological order):

  • Victor Berchet — Help with initial localisation; French translation
  • Benoit Gauthier — autosave bug fix
  • Filippo Pisano — Italian translation
  • Marcis G. — Belorussian translation
  • Almaz — Russian translation
  • Renate Kramer — German translation
  • Rene — Dutch translation

25 August, 2009

qTranslate and Theme Hybrid: Multilingual META fields

So I wrote this code for allowing multilingual editing of the META fields when using Theme Hybrid (the “Hybrid Settings” panel on any add/edit post/page.

Here is the functions.php file, this should of course be combined with whatever else you’re using..

This is still an early version, so if anyone tries it out let me know if you have any issues/feature suggestions!

Download: functions-example.zip