Events Made Easy Forums Bug fixed or feature request implemented eme_load_textdomain called too late?

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42247
    Anonymous
    Inactive

    Hi,

    To get ‘There are no bookings associated to this name and e-mail’ and other post-back messages in my own language (nn-No), I had to move the eme_load_textdomain call in events-manager.php in front of the includes.

    ie:

    add_action(‘init’, ’eme_load_textdomain’);

    function eme_load_textdomain() {

    $thisDir = dirname( plugin_basename( __FILE__ ) );

    load_plugin_textdomain(’eme’, false, $thisDir.’/langs’);

    }

    // INCLUDES

    include(“captcha_check.php”);

    ….

    #45437
    Franky
    Keymaster

    Correct! Nice find! I updated svn with the correct fix.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top