Testing qTranslate

From the start I wanted to have a multilingual blog, since I am multilingual in my daily life here in Sweden. I found a WordPress plugin called WPML for this purpose, but the makers of this plugin decided to commercialize it and now they want to have money. Since this blog’s contents is for free I also want to use free tools and I stuck with the last free version of WPML.

However, today I encountered problems with the way comments are handled in WPML and I started to look for alternatives. There are several plugins available, but I decided to give qTranslate a try.

2 comments

  1. Still the author of qtranslate has not acknowledged my suggestion to use its own language translations even in the selection field of the languages. In qtranslate_widget.php change every instant of

    $q_config['language_name'][$language]

    into

    qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($q_config['language_name'][$language])

    The same applies for example for the JetPack TOP-5 widget:

    change the block

    default :
                echo '<ul>';
                foreach ( $posts as $post ) {
                    echo '<li><a href="' . esc_url( $post['permalink'] ) . '" class="bump-view" data-bump-view="tp">' . esc_html($post['title']) . "</a></li>\n";
                }
                echo '</ul>';

    into

    default :
                echo '<ul>';
                foreach ( $posts as $post ) {
                    echo '<li><a href="' . esc_url( $post['permalink'] ) . '" class="bump-view" data-bump-view="tp">' . esc_html( qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post['title']) ) . "</a></li>\n";
                }
                echo '</ul>';

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.