Skip to:
Content
Pages
Categories
Search
Top
Bottom

Howto activate a mo file for a plugin

Viewing 1 replies (of 1 total)
  • Hi, this works for me:

    add_action('bb_init', 'pm_initialize');

    function pm_initialize() {
    load_plugin_textdomain('bb-pm', BB_PLUGIN_DIR . 'private-messages');
    }

    Inside the folder private-messages i have a file called bb-pm-es_ES.mo. As you can see, i use the locale es_ES.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar