Viewing 9 replies - 1 through 9 (of 9 total)
  • Mike

    (@jolley_small)

    Does it work if you prefix it with sblogin-, e.g. sblogin-nl_NL.po

    Im a bit fuzzy when it comes to localization.

    Thread Starter johandemeijer

    (@johandemeijer)

    It’s a bad translation, I’ll modify it and send you a good one.

    Hi, the same problem here. I tried es_ES.mo and sblogin-es_ES.mo in /wp-content/plugins/sidebar-login/langs/ and no luck, the widget remains English. I use QTranslate for changing the blog language.
    Anyone can help me?

    After going crazy a few times I found that the 2 language files that come with the last version of sidebar-login(2.2.4) are both wrong in their line numbers. For example:
    #: sidebar-login.php:46
    #: sidebar-login_2_2_1.php:46
    msgid “<p>Changes saved</p>”
    msgstr “<p>Changements sauvegardés</p>”

    and in sidebar-login.php:46 :
    // Update options
    should be sidebar-login.php:55:
    _e(‘<p>Changes saved</p>’,”sblogin”);
    And all the others has the same problem.
    Besides that when the plugin makes the call to load the .mo:
    20) load_plugin_textdomain(‘sblogin’, WP_PLUGIN_URL.’/sidebar-login/langs/’, ‘sidebar-login/langs/’);
    The function get_locale() returns nothing, this is probably because of my QTranslate plugin that set the locale at some point after that… trying to fix it now.

    And line 246 (2.2.2) or 257(2.2.4) of sidebar-login.php should use
    __(‘Dashboard’,’sblogin’)
    __(‘Profile’,’sblogin’)
    instead of only __(‘Dashboard’) & __(‘Profile’) that uses now

    Mike

    (@jolley_small)

    k thanks, Ill note this for next version.

    WP 2.9.2 & SB 2.2.10: obviously the fixes weren’t applied yet, were they? Although I have set everything properly (I guess), I still can’t see the translations (I’m using qTranslate 2.5.7) – only English version is showing up no matter what language (English, German and Polish) I choose.
    Ideas anyone?

    WP 2.9.2 & SB 2.2.10: obviously the fixes weren’t applied yet, were they?

    I edit the file sblogin-zh_TW, and put it on
    /wp-content/plugins/sidebar-login/langs/sblogin-zh_TW.po
    /wp-content/plugins/sidebar-login/langs/sblogin-zh_TW.mo

    my wp-config.php is setting
    define (‘WPLANG’, ‘zh_TW’);

    still not work!
    Ideas anyone?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Sidebar Login] New language doensn’t work’ is closed to new replies.