diff --git a/plugin-name/class-plugin-name.php b/plugin-name/class-plugin-name.php index 43928cb..2c74144 100644 --- a/plugin-name/class-plugin-name.php +++ b/plugin-name/class-plugin-name.php @@ -139,7 +139,7 @@ class Plugin_Name { $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); load_textdomain( $domain, WP_LANG_DIR . '/' . $domain . '/' . $domain . '-' . $locale . '.mo' ); - load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( __FILE__ ) ) . '/lang/' ); + load_plugin_textdomain( $domain, FALSE, basename( dirname( __FILE__ ) ) . '/lang/' ); } /**