Adding a Language Toggle to qTranslate Plugin for WordPress

IMPORTANT NOTE: If you update qTranslate, these changes will be overwritten and you will need to re-insert this code again in order to restore the functionality. qTranslate is a wonderful plugin that can help you create a multilingual website. If you only need to support two languages, how do you add a Toggle Link to your page? Assuming you’ve already installed the qTranslate plugin on your site, you will need to make the following modifications: 1. Edit the following file: /wp-content/plugins/qtranslate/qtranslate_widget.php 2. Scroll down to the qtrans_generateLanguageSelectCode function and add the following code right after the break of the case … Continue reading