Missing translations

This topic contains 6 reply and 2 voices, and was last updated by Nayem 9 years, 4 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
May 28, 2015 at 5:03 pm 45492
Nayem Hi These are missing translation please tell me how to fix that you can find it in dashbord- > orders thanks
May 28, 2015 at 5:45 pm 45507
Nayem Nayem

Hello Anas,

Those string are coming from WooCommerce. So you can try to translate WooCOmmerce.

Thanks.

May 31, 2015 at 1:26 am 45706
Anas Basalamah Anas Basalamah

no the problem from dokan

check out the file plugin/dokan/templates/my-orders.php line 38 you will see that dokan is calling woocomerce for status list

$statuses = wc_get_order_statuses();

which is in the woocomerce file woocommerce/includes/wc-order-functions.php

function wc_get_order_statuses() {
$order_statuses = array(
‘wc-pending’ => _x( ‘Pending Payment’, ‘Order status’, ‘woocommerce’ ),
‘wc-processing’ => _x( ‘Processing’, ‘Order status’, ‘woocommerce’ ),
‘wc-on-hold’ => _x( ‘On Hold’, ‘Order status’, ‘woocommerce’ ),
‘wc-completed’ => _x( ‘Completed’, ‘Order status’, ‘woocommerce’ ),
‘wc-cancelled’ => _x( ‘Cancelled’, ‘Order status’, ‘woocommerce’ ),
‘wc-refunded’ => _x( ‘Refunded’, ‘Order status’, ‘woocommerce’ ),
‘wc-failed’ => _x( ‘Failed’, ‘Order status’, ‘woocommerce’ ),
);
return apply_filters( ‘wc_order_statuses’, $order_statuses );
}

now what dokan get is from woocomerce is ‘wc-on-hold’ insted of ‘On Hold’

look again in the photo upward you will see the status is on-hold not On Hold

how can i fix this !? O_O”

May 31, 2015 at 1:46 am 45708
Anas Basalamah Anas Basalamah

also this prove it

from file order-function.php

// make sure order status contains “wc-” prefix
if ( stripos( $new_status, ‘wc-‘ ) === false ) {
$new_status = ‘wc-‘ . $new_status;
}

now tell me how to translate this list?

its dokan problem now 🙂

May 31, 2015 at 5:55 pm 45752
Nayem Nayem

Hello Anas,

Thank you for pointing me those thing. I have notified to our team about those string. We will add those string in the language file in our next update.

Thanks.

May 31, 2015 at 5:57 pm 45753
Anas Basalamah Anas Basalamah

please send me the language file as soon as you fix the problem its urgent to me

thansk

May 31, 2015 at 6:19 pm 45754
Nayem Nayem

Hello Anans,

As soon as possible i will provide you the update about this translation issue. Please keep patience.

Thanks.

Viewing 6 Posts - 1 through 6 (of 6 total)