Home Forums WC Vendors Pro Support How translate the dashboard menú

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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58819
    JAVIER
    Participant

    Hi friends.

    How translate the dashboard menú?

    Thanks

    #58863
    Anna
    Member

    @jaralo
    Hello!
    Yes it does look like some of those tabs did not translate for you.
    You can use some code in your functions.php to change those labels. These should be placed in your theme/child theme functions.php file Just change the label name to the appropriate text / language for your site.
    This will change the DASHBOARD label:
    https://gist.github.com/fervous/27c269b78b8af00b4f94d0447a014766

    This should change the SETTINGS, RATINGS and COUPONS:

    add_filter('wcv_pro_dashboard_urls', 'custom_wcv_pro_dashboard_urls_settings');
      function custom_wcv_pro_dashboard_urls_settings( $args ){
        $args['settings']['label'] ='My Settings Label';
        return $args;
    }
    add_filter('wcv_pro_dashboard_urls', 'custom_wcv_pro_dashboard_urls_shop_coupon');
      function custom_wcv_pro_dashboard_urls_shop_coupon( $args ){
        $args['shop_coupon']['label'] ='My Coupons Label';
        return $args;
    }
    add_filter('wcv_pro_dashboard_urls', 'custom_wcv_pro_dashboard_urls_rating');
      function custom_wcv_pro_dashboard_urls_rating( $args ){
        $args['rating']['label'] ='My Ratings Label';
        return $args;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.