Sidebar Login
Localisation not working (6 posts)

  1. noixdarec
    Posted 4 years ago #

    Changing languages with qTranslate, all went well except Sidebar Login which is always in English. All .mo files are there. Am I missing something?


  2. dejudicibus
    Posted 3 years ago #

    I have exactly the same problem: I use qTranslate too, all plugins and widgets are localized BUT Sidebar Login. I gave a look at code and it really calls the text domain "sblogin" and mo and po files exist for my language too, but I always see texts in English... :(

  3. dejudicibus
    Posted 3 years ago #


    You must remove from line 11 in sidebar-login.php

    load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');

    and add

    load_plugin_textdomain( 'sblogin', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/' );

    just after line 237

    function widget_wp_sidebarlogin_check() {

    I did it and it works now. I hope the author will fix it asap, anyway.

  4. dejudicibus
    Posted 3 years ago #

    I sent to Andy also a new pot file since the old one contained a lot of obsolete strings and was missing few new ones.

  5. meinchel
    Posted 3 years ago #

    I did so (version 2.3.4) but doesn't work for me. :( Still in English.
    I'm trying to hardcode it, but I can't find the Dashboard and Profile references in the code!

  6. Ayek
    Posted 3 years ago #

    I like the plugin, but it's a pity it doesn't support multilingual websites :(

    You need go to the Sidebar Login options > Logged in links
    <a href="http://yourdomain.com/wp-admin/profile.php?lang=<!--:en-->en<!--:--><!--:ru-->ru<!--:-->"><!--:en-->Profile<!--:--><!--:ru-->Профиль<!--:--></a>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sidebar Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic