load_textdomain first

This commit is contained in:
Mike Jolley 2014-03-05 10:32:44 +00:00 committed by Coen Jacobs
parent eda56fd1bd
commit d60e98aefb
1 changed files with 1 additions and 1 deletions

View File

@ -432,8 +432,8 @@ final class WooCommerce {
}
// Global + Frontend Locale
load_plugin_textdomain( 'woocommerce', false, plugin_basename( dirname( __FILE__ ) ) . "/i18n/languages" );
load_textdomain( 'woocommerce', WP_LANG_DIR . "/woocommerce/woocommerce-$locale.mo" );
load_plugin_textdomain( 'woocommerce', false, plugin_basename( dirname( __FILE__ ) ) . "/i18n/languages" );
}
/**