Home Forums WC Vendors Pro Support Can't translate vendors order statuses

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54873
    Elsa Soares
    Participant

    Current pro version: 1.3.9
    Woocommerce version: 2.6.13

    Hi,

    I can’t translate vendors order statuses.I did the translation as usual, using poedit, but the English terms are not translated.

    I appreciate your help.

    Regards

    Elsa Soares

    #54882
    WC Vendors Support
    Participant

    WooCommerce translates order statuses, not WC Vendors. WC Vendors doesnt have statuses, we just pull from Woo.

    #54884
    Yasa
    Participant

    Go to: wp-content/plugins/wcvendors-pro/public/class-wcvendors-pro-order-controller.php
    line 528: $new_row->order_date = date_i18n( wc_date_format(), strtotime( $order->order_date ) ) . '<br /><strong>' . ucfirst( $order->get_status() ) . '</strong>';

    change ucfirst( $order->get_status() ) to ucfirst( wc_get_order_status_name( $order->get_status() ) )

    Reference link

    #54886
    WC Vendors Support
    Participant

    Hey Yasa, you’re hired. Thanks man. 🙂

    #54941
    Elsa Soares
    Participant

    I love helpful people! The code works perfectly. 🙂

    I’m very grateful to you Yasa. Best of luck with your site!

    Kind Regards
    Elsa Soares

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.