WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate plugin works as expected for six languages but not for Swedish (3 posts)

  1. ArneLarsson
    Member
    Posted 2 years ago #

    My name is Arne Larsson, and I'm a translator based in Helsinki working with a group of colleagues in several languages. I have set up a WordPress 3.2.1 installation with qTranslate 2.5.24 with seven active languages, all of which work very well, except for the Swedish language. The theme is Twenty Ten.

    In this setup I have:

    $q_config['locale']['se'] = "sv_SE"; in qtranslate.php
    sv_SE.mo in wp-content/languages
    sv_SE.mo in wp-content/themes/twentyten/languages

    However, when I select Swedish WP still defaults to English in the texts retrieved from the template (Posted on, Posted in <category>. Leave a comment, Edit, etc.).

    I assume the reason for this behaviour might be a misconfiguration related to the locale ("se" for Sweden and "sv" for Swedish), but I can't find out how to fix it.

    Any help with this issue would be greatly appreciated.

    Best regards,
    Arne

  2. ArneLarsson
    Member
    Posted 2 years ago #

    Apologies, I forgot to mention the web address to my site in question. It is http://kaannos.info ("käännös" means "translation" in Finnish).

  3. ArneLarsson
    Member
    Posted 2 years ago #

    Problem solved! I changed this line:

    $q_config['locale']['se'] = "sv_SE";

    to read:

    $q_config['locale']['sv'] = "sv_SE";

    I also made sure locale for Swedish was set to sv_SE in Language Management/Edit Language in the settings for qTranslate.

Topic Closed

This topic has been closed to new replies.

About this Topic