Updating the pot file does not bring the change in the Dashboard

Home Forums WC Vendors Pro Support Updating the pot file does not bring the change in the Dashboard

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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #77486
    Malavika Gupta
    Participant

    Hi Anna,

    I changed the ‘Commission Due’ to ‘Earnings Due’ in wcvendors-pro.pot but the changes does not take affect in the Pro Dashboard. Just wondering if I need to do anything else after updating the file?

    Thanks

    #77502
    Anna
    Keymaster

    Hello,
    hmmm. no that should do it.
    What theme are you using?

    #77510
    Malavika Gupta
    Participant

    I am using X-Theme.

    #77531
    Anna
    Keymaster

    Hello,
    Well that theme should not affect the dashboard templates at all.
    Please try directly modifying the template and saving it to your child theme.
    Copy this template:
    wp-content\plugins\wc-vendors-pro\templates\dashboard\reports\overview.php
    To this location (you may have to create the folders):
    wp-content/themes/your-child-theme/wc-vendors/templates/dashboard/reports/overview.php

    Now, modify this line, should be line 31:

    <h3><?php _e( 'Commission Due', 'wcvendors-pro'); ?></h3>
    

    Change the Commissions Due to whatever is appropriate.
    Save. Check and see if the modified template has applied the changes.

    #77533
    Malavika Gupta
    Participant

    Hi Anna,

    Do you mean it is the Theme which is preventing the changes in the .pot file to take into effect? The reason I ask is because ‘Commission Due’ was just an example of all changes I want to do. I want to change all instances of commission in the Vendor Dashboard, Order Details to Earnings or something.

    Thank you

    #77609
    Anna
    Keymaster

    Hello,
    No- not that theme. There are a few that override our templates, and so I was checking to see if you were using one of those themes, but you are not.
    I am not sure why that one string in the .pot did not change for you.
    Did you change them using the language files, such as explained in our kb article?
    https://www.wcvendors.com/kb/language-support/

    #77623
    Malavika Gupta
    Participant

    I just changed the string in wc-vendors-pro/languages/wcvendors-pro.pot file. Actually its not just that one string, none of the strings are changing. I did install POEdit and Loco Translate but did not do the steps as mentioned in POEdit. I was not sure to just change few strings, do I have to do all the steps like creating the .mo file etc. I am sorry if I was mistaken, I went through the forums and this is what I concluded. Please advise.

    Thanks

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

Pro Bundle Special Offer 35% OFF

Get all the plugins essential for your marketplace website in one place and save. Over $600 value for just $397!

This website uses cookies to ensure you get the best experience on our website.