Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Howto activate a mo file for a plugin

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.

Skip to toolbar