Forums

[Plugin: Sidebar Login] How do I activate the language package? (3 posts)

  1. cjramer73
    Member
    Posted 2 years ago #

    Hi there!

    Just starting out in the blog biz! I recently installed this great plugin but I don't know how to activate the Spanish language file that comes with the plugin.

    I installed the 2.2.7 Sidebar version that has some 10 or so translations in the wp-content/plugins/sidebar-login/langs folder.

    I would greatly appreciate some help as to what I'm supposed to do with this file so that the translated plugin will appear online.

    Thank you!

  2. mad_max
    Member
    Posted 2 years ago #

    There's nothing special to do, the plugin just needs sblogin-es_ES.mo in its langs directory.
    Then, if you have a line like this

    define ('WPLANG', 'es_ES');

    in your wp-config.php, wordpress automatically look for the right .mo file in the folder specified by

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

    i.e. the plugin langs folder

  3. kubanek
    Member
    Posted 1 year ago #

    Well, my settings are
    define ('WPLANG', 'pl_PL');
    and it's still English on the site. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic