June 9th, 2010
The extremely useful qTranslate plugin for WordPress can translate the same blog in multiple languages, including the content and interface elements. Customization is one of its key features: according to the browser language or by explicit administration setting, the plugin chooses and displays the appropriate translation for texts, excerpts and page titles.
However, the author is willing to implement permalink translation in future versions, and at the moment we still need to install the qTranslateSlug unofficial patch to get also slugs in specific languages.
The primary code implies manual adding of a function in sidebar.php or in another template file to generate the language select code, so I’ve wrapped everything in a widget traced from the normal qTranslate one: