Support

Home Forums Event Espresso Premium Changing default text?

Changing default text?

Posted: July 24, 2012 at 5:04 am


bhurley

July 24, 2012 at 5:04 am

I’d like to edit the default text that shows up on some of the pages during registration: for example under “please choose a payment option” the default text is very confusing (on my page it shows “off-site payments” and “off-line payments” (which I’d like to change to “Pay Online” and “Pay by Check.” And the text under “Off-line Payments” is confusing as well (it says “Attention! Since you are using the check payment option, please make note of the information below, then click here to finalize your registration.”) I want to edit that text.

I don’t see any way to edit this text within Event Espresso; do I need to find the files and edit with a text editor?

  • This topic was modified 11 years, 9 months ago by  Josh. Reason: moving to correct forum topic category


Josh

  • Support Staff

July 24, 2012 at 11:20 am

There are two options for changing these text strings:

1) use poedit to create an english to english translation. Open up the english language .po file in poedit, then search for the text strings you’d like change and change them. After making the changes, save and upload the new .po and .mo files to the server in the /languages directory

2) Modify the gateway files using a text editor. Some of these strings will be in /gateway/gateway_display.php. This file can be copied over to /wp-content/uploads/espresso/gateways.
Other changes may need to be made in the specific gateway folder (eg. /check) Copy the individual modified gateway folders to the same location.


bhurley

July 24, 2012 at 11:53 am

Thank you! I’d never even heard of poedit or .po and .mo files before, but I decided to go that route and it worked perfectly. I imagine these changes will be overwritten each time I update to a new version, but I’m saving an edited version of the files in my backup.


Josh

  • Support Staff

July 24, 2012 at 12:11 pm

Yeah, the language directory is something that does get overwritten on updates. I’ve created a ticket so this gets addressed. It would be useful to have a directory like they do for templates and gateways to keep custom language files safe from being overwritten on a software update.


Chris Reynolds

  • Support Staff

July 25, 2012 at 4:28 pm

I’m hoping we can eventually move to putting modified language files in the /wp-content/uploads/espresso/ directory somewhere, so you can upload your own custom language files that override the ones shipped with the plugin. That’s the plan, at any rate.

The support post ‘Changing default text?’ 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