Support » Plugin: WPMS Sidebar Login Widget » [Plugin: WPMS Sidebar Login Widget] Translation not working

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Joshua Parker

    (@parkerj)

    Could you email me your files, so that I can figure out what is not working? You can email me at consulting[at]joshparker[dot]us.

    Joshua, you should read this: http://codex.wordpress.org/Writing_a_Plugin#Internationalizing_Your_Plugin

    To fetch a string simply use __(‘String name’,’your-unique-name’); to return the translation or _e(‘String name’,’your-unique-name’); to echo the translation. Translations will then go into your plugin’s /languages folder.

    Change _e(‘Login’) to _e(‘Login’,’wpms-network-sidebar-login’) to get the translation from the plugin directory. The first e_(‘Login’) retrieves the translation from the main wordpress langauge file.

    Great work! I’ll send you the hungarian translation.

    @netmax: try rename your files regarding the textdomain of the plugin: wpms-network-sidebar-login-de_DE

    Plugin Author Joshua Parker

    (@parkerj)

    @zbacsi, awesome. Thank you.

    blogogradjanin

    (@blogogradjanin)

    I use your widget “WPMS Sidebar Login Widget” and I do not know where to write you this but here. I hope Joshua Parker you will read.
    I have two problems.
    The first problem is that the widget is deformed when the user logs on. Specifically top line that says who is registered to move left and up. Do not follow the rest of the settings of other widgets. And it’s not as big a problem that can not survive.
    Another problem is that many users are complaining that they keep the widget on the wrong side and gives them the wrong control panel. For example, when you click on “Your Control Panel” on them, open the control panel of some of the other bloggers, and it is always the same.

    Am I doing something wrong with widget or there is some problem. And is there any solution for this problem.
    PS. Several users have links that lead them to their profile and dashboard and there is nothing wrong, while others have problems with this.

    Please help.
    (translated from Serbian by Google Translate)

    Plugin Author Joshua Parker

    (@parkerj)

    @blogogradjanin, can you email me screenshots?

    consulting[at]joshparker[dot]us

    blogogradjanin

    (@blogogradjanin)

    mail sent

    Plugin Author Joshua Parker

    (@parkerj)

    Somewhere around line 373, change this:
    <div id="user-profile">

    to this:
    <div id="wp_sidebarlogin-4" class="widget widget_wp_sidebarlogin"><div id="user-profile">

    Somewhere around line 395, change this:
    <div id="wp_sidebarlogin-4" class="widget widget_wp_sidebarlogin"><div class="avatar_container" style="float:left;"><a href="<?php echo $wpms_user_url; ?>" title="<?php _e('Go to your blog homepage'); ?>"><?php echo get_avatar($user_ID,'48',get_option('avatar_default')); ?></a></div>

    to this:
    <div class="avatar_container" style="float:left;"><a href="<?php echo $wpms_user_url; ?>" title="<?php _e('Go to your blog homepage'); ?>"><?php echo get_avatar($user_ID,'48',get_option('avatar_default')); ?></a></div>

    Somewhere around line 421, change this:
    <div id="wp_sidebarlogin-4" class="widget widget_wp_sidebarlogin"><div class="avatar_container" style="float:left;"><a href="<?php bloginfo('url'); ?>" title="<?php _e('Go to homepage'); ?>"><?php echo get_avatar($user_ID,'48',get_option('avatar_default')); ?></a></div>

    to this:
    <div class="avatar_container" style="float:left;"><a href="<?php bloginfo('url'); ?>" title="<?php _e('Go to homepage'); ?>"><?php echo get_avatar($user_ID,'48',get_option('avatar_default')); ?></a></div>

    If you are not confident enough to make these changes, I will be releasing a new update soon. With regards to your other issue, I would need to actually see exactly what is going on with using some different logins or if uncomfortable with that, then by using http://www.screencast-o-matic.com/ showing me the issues and the email me the url to the screencast.

    blogogradjanin

    (@blogogradjanin)

    waiting for update… 😉
    i will add you as a user or admin… just send me nick and email adress.

    hiya !

    Well also have the translation problem in Version 1.9.4

    named the files as wpms_sidebar_login-fr_FR.mo

    but… nothing 🙁

    The plugin does not work in Turkish

    My website is an WP mu on the main site i installed the plugin.
    i made
    wpms-network-sidebar-login-nl_NL.mo
    wpms-network-sidebar-login-nl_NL.po
    for dutch this works

    for turkish i made
    wpms-network-sidebar-login-tr_TR.mo
    wpms-network-sidebar-login-tr_TR.po
    This doesnt work:S

    in my wp Admin i set the
    define(‘WPLANG’, ”);
    define(‘WPLANG’, ‘tr_TR’);
    define(‘WPLANG’, ‘nl_NL’);

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: WPMS Sidebar Login Widget] Translation not working’ is closed to new replies.