Forums

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

  1. cjramer73
    Member
    Posted 1 month 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 1 month 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

Reply

You must log in to post.

About this Topic