load_textdomain first
This commit is contained in:
parent
eda56fd1bd
commit
d60e98aefb
|
@ -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" );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue