Posted: 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?
|
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. |
|
|
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. |
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. |
|
I’m hoping we can eventually move to putting modified language files in the |
|
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.