Support

Home Forums Event Espresso Premium Changing Status Descriptions

Changing Status Descriptions

Posted: September 19, 2016 at 7:37 am

Viewing 5 reply threads


twhcoteaching

September 19, 2016 at 7:37 am

Following a successful registration of a Not Approved type event, the Registration Details section of the confirmation page displays a REG status of Not Approved. I would like to change the description from “Not Approved” to “Pending”. Its a little less abrasive ๐Ÿ™‚


Tony

  • Support Staff

September 20, 2016 at 2:07 am

Hi there,

Using the same function from here:

https://eventespresso.com/topic/event-translation-doesnt-work/#post-216997

You can add:

'Not Approved' => 'Pending',

To the list of strings in the $strings array to translate the status.

To clarify that’s not the description your editing, your translating the actual status of ‘Not Approved’ to ‘Pending’.

You may also want to edit the Not Approved message type within:

Event Espresso -> Messages -> Default Message Templates -> Not Approved Registration

The translation will not apply to messages so you need to do those manually.


twhcoteaching

September 20, 2016 at 9:54 am

where do I edit the $strings array? I don’t see where I am supposed to do this in either Quick Localisation or Event Espresso. Please advise. Thank you!


Tony

  • Support Staff

September 21, 2016 at 4:32 am

Did you previously use the function linked to in that thread to translate the string?

This one: https://gist.github.com/Pebblo/21be3707f0b332d58e13f438df4d88dc

If so you would change the $strings array there, so its like this:

$strings = array(
	'The following events do not require payment at this time and will not be billed during this transaction. Billing will only occur after the attendee has been approved by the event organizer. You will be notified when your registration has been processed. If this is a free event, then no billing will occur.' => 'Custom Text Here',
	'Not Approved' => 'Pending',
	'not approved' => 'pending',
        // Add some more strings here
    );

(note the additional ‘not approved’ string, you’ll need both)

You can also do that from within quick localization if you prefer, just add both of those strings to the translations within that plugin.


twhcoteaching

September 26, 2016 at 9:24 am

Awesome. It’s working now. Thanks for your help!


Tony

  • Support Staff

September 26, 2016 at 12:23 pm

You’re most welcome ๐Ÿ™‚

Viewing 5 reply threads

The support post ‘Changing Status Descriptions’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso