Title: load_plugin_textdomain not correct
Last modified: August 30, 2016

---

# load_plugin_textdomain not correct

 *  Resolved [Flowrider](https://wordpress.org/support/users/florisjansen/)
 * (@florisjansen)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-not-correct/)
 * Please remove “$this->load_plugin_textdomain();” on line 19 in file: “woocommerce-
   email-validation.php”.
 * This function is also called in the “load_localisation” function and messes up
   the translation.
 * [https://wordpress.org/plugins/woocommerce-email-validation/](https://wordpress.org/plugins/woocommerce-email-validation/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-not-correct/#post-6232703)
 * How do you mean it “messes up the translation” – what happens exactly? I have
   the exact same code in almost every plugin that I have on the repo and there 
   are no issues in any of them. If you can be more specific then I could try to
   help.
 * Thanks,
    Hugh
 *  Thread Starter [Flowrider](https://wordpress.org/support/users/florisjansen/)
 * (@florisjansen)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/load_plugin_textdomain-not-correct/#post-6232851)
 * When using another plugin to set the language your plugin does not pick up the
   language change and stays english (it is run earlier, maybe instead of “init”
   you can use “plugins_loaded” ?)
 * When removing “$this->load_plugin_textdomain();” and only using the native wordpress
   function “load_plugin_textdomain” there is no problem.
 * Example from WordPress: [https://codex.wordpress.org/Function_Reference/load_plugin_textdomain](https://codex.wordpress.org/Function_Reference/load_plugin_textdomain)
 * regards,
    Floris
 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [10 years ago](https://wordpress.org/support/topic/load_plugin_textdomain-not-correct/#post-6233093)
 * This is sorted out in v2.0 of the plugin 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘load_plugin_textdomain not correct’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-email-validation_4c0066.
   svg)
 * [WooCommerce Email Validation](https://wordpress.org/plugins/woocommerce-email-validation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-email-validation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-email-validation/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-email-validation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-email-validation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-email-validation/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/load_plugin_textdomain-not-correct/#post-6233093)
 * Status: resolved