I'd like to change the standard order statuses to custom

I’d like to change the standard order statuses to custom ones. Is this possible and if it is, how do I do it?

  • Alexander
    • DEV MAN’s Mascot


    If you’re only changing the labels and not any functionality, the easiest way to do this would be creating a custom “translation” of the plugin. You could use this plugin http://wordpress.org/plugins/codestyling-localization/ to create a new translation within your WordPress dashboard. Then you could modify instances of any string in MarketPress. You could also use poedit and do this manually: http://codex.wordpress.org/Translating_WordPress#Translating_With_Poedit

    If you’re looking to add more features, or modify behavior, it’s possible but would require custom development. We don’t undertake custom development work ourselves. However, we do have a great number of members that have a lot of experience in that area, and we strongly recommend you check out their profiles on WPMU Jobs: https://premium.wpmudev.org/wpmu-jobs

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.

    Best regards,

  • Alexander
    • DEV MAN’s Mascot

    Ok sounds good! First, I'll give you a basic idea of how this works.

    WordPress uses what we call "text domains" to allow it to be translated into any language. WordPress also makes the feature available for plugins and themes, so we've made all our products compatible.

    Essentially we'll be translating English to… English, using this process.

    Here are specific instructions for using Poedit. This is alot, so you might want to read through once before taking a shot at it. I've also included a screenshot of what you might expect using PoEdit to do this.

    1. First you'll need to download and install Poedit. You can get it here: http://www.poedit.net/

    2. Download MarketPress and unzip the file. Take a look in the marketpress-includes/languages folder. You'll see a file called mp-default.po. This is basically a catalogue of every word and location it's used in MarketPress

    3. Run Poedit, and open up that .pot file.

    4. Go through the list, and for each time you wish to change something, first click it in the list. You will see the "Source text" box update. Now just enter what you wish to be included instead of that text in the translation box.

    It's a long list, so to quickly find instances of "Shipped" or "Paid" be sure to use the "find" function (cmd+F on Mac, and ctrl+F on PC)

    Some of these options will include HTML, so be careful to leave that intact to prevent some layout elements from breaking.

    5. When you're done translating, click "Validate" to make sure there aren't any errors.

    6. Now save the file. This will automatically create a .mo file. This is the compiled version of your translation that WordPress can read faster than the full text version.

    7. Rename the .mo file to include the country code. For example I'm using US English here: "mp-en_US.mo"

    8. Upload to your site and place in the languages folder of appointments+ (wp-content/plugins/marketpress/marketpress-includes/languages)

    9. Tell WordPress to look for translations. This can be done by placing the following line in your wp-config.php file:

    define('WPLANG', 'en_US':wink:;

    Hope this helps you out! Let me know how it goes and if you need clarification on any of the steps!

    Best regards

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.