Support

Home Forums Event Espresso Premium Edit Thank You Message after submitting Paypal Pro payment

Edit Thank You Message after submitting Paypal Pro payment

Posted: February 14, 2015 at 7:11 pm


Joe Capone

February 14, 2015 at 7:11 pm

How would I edit the message that appears on the Thank You confirmation page?


Tony

  • Support Staff

February 16, 2015 at 9:38 am

Hi Joseph,

Can you post up the full message you are looking to edit please?


Joe Capone

February 16, 2015 at 9:50 am

Here is the message (in fact, how do I edit all of the message? Is there a folder that the messages are in?):

Congratulations
Your registration has been successfully processed.
Check your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.


Tony

  • Support Staff

February 17, 2015 at 3:05 am

The best way to achieve this is to ‘translate’ that phrase to suit your needs. We have a guide on how you can do that here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

We try to ensure all strings within Event Espresso are translatable to allow for this. The string you need to translate is actually:

‘%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.’


Joe Capone

February 20, 2015 at 4:41 am

From the link that you included:
2) After you install Poedit, you can download a copy of the event_espresso-en_US.po file from our GlotPress project. Then you can open it in Poedit.

I am trying to download event_espresso-en_US.po

I cannot find that file. I did find the

%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.

string in the online repository….but cannot download the .po file.


Joe Capone

February 20, 2015 at 4:42 am

Found it in github. Is this what I use?

https://raw.githubusercontent.com/eventespresso/languages/master/event_espresso-en_US.po


Joe Capone

February 20, 2015 at 4:50 am

I downloaded the raw code from Gitbub, saved as .po, opened in Poedit….control F and the string that I am supposed to be searching for is not there.

Found this thread in support: https://eventespresso.com/topic/editing-the-order-confirmation-2/

Please help me figure this out as the site needs to go live for a charity tonight.

Thanks.

Would like the message to say

“Thank you for submitting payment. Your order has been successfully completed. It is important for you to complete the TEAM REGISTRATION form if you are playing in the croquet tournament. Click the button below to visit the registration form.”


Tony

  • Support Staff

February 20, 2015 at 12:56 pm

Hi Joseph,

The best way to do this is using the PO Files that you are trying to use currently.

However as a quick fix I have made up a get_text function that will translate that line for you:

https://gist.github.com/Pebblo/7c7c760f5f5e00863c06

That will change the text to the string you posted above, like this – http://take.ms/uRoZO

Just add that function to functions.php or using a site specific plugin

2) After you install Poedit, you can download a copy of the event_espresso-en_US.po file from our GlotPress project. Then you can open it in Poedit.
I am trying to download event_espresso-en_US.po
I cannot find that file. I did find the

You download that file by Exporting the strings through glotpress. So go here:

http://translate.eventespresso.com/projects/event-espresso-4/en/event-espresso-en_US

Click Export at the bottom of the page – http://take.ms/RmulI

Rename the file to event_espresso-en_US.po

Then edit that file using POEdit from the guide.

Does that help?

The support post ‘Edit Thank You Message after submitting Paypal Pro payment’ 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