Viewing 4 replies - 1 through 4 (of 4 total)
  • Christos

    (@chrism41111)

    Hi gonzalezea,

    i had a same problem,

    Try this:
    Go to root folder of plugin ( wp-content/plugins/woocommerce-my-account-widget ) and open for edit the main plugin file ( woocommerce-my-account-widget.php ).

    Go to line 621.

    Change this:
    load_plugin_textdomain(‘woocommerce-my-account-widget’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’ );

    to this:
    add_action(‘init’, function(){

    load_plugin_textdomain(‘woocommerce-my-account-widget’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’ );

    });

    Sorry for my english

    Thread Starter gonzalezea

    (@gonzalezea)

    That works !!! but in my case was line 311

    Thanks a lot !!

    Christos

    (@chrism41111)

    In the original plugin file, the function load_plugin_textdomain() is actually in line 311

    Plugin Author WP Fortune

    (@bpluijms)

    Hello all,

    Thank you for reporting this issue.
    This is fixed in the latest release 0.4.9

    Best regards,
    Bart

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change language?’ is closed to new replies.