Fix error with admin translations not loading

This commit is contained in:
Illimar Tambek 2013-10-10 15:59:46 +03:00
parent b8bad82782
commit 540bf3c5ab
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ final class WooCommerce {
// Admin Locale
if ( is_admin() ) {
load_textdomain( 'woocommerce', WP_LANG_DIR . "/woocommerce/woocommerce-admin-$locale.mo" );
load_textdomain( 'woocommerce', "i18n/languages/woocommerce-admin-$locale.mo" );
load_textdomain( 'woocommerce', dirname( __FILE__ ) . "/i18n/languages/woocommerce-admin-$locale.mo" );
}
// Frontend Locale