Support

Home Forums Event Espresso Premium Text Change Inside Plug In WP Admin Event Expresso

Text Change Inside Plug In WP Admin Event Expresso

Posted: December 4, 2020 at 2:04 pm

Viewing 7 reply threads


Fildcher

December 4, 2020 at 2:04 pm

Hello, I would like to know how to change the the red circled name on the following picture https://ibb.co/7Sbn1KX ?
I want to change
“Venue” = Location,
“Event Start” = Class Date
“On Sale” = Registration Start

I hope it is an easy solution.


Fildcher

December 4, 2020 at 3:11 pm

Also some other part of the inside of the Plug-IN https://ibb.co/bRr6SgH
https://ibb.co/zRnNP58
In-between Ticket and Sale Start add a text column named Room, just to enter a number and display it next the column Class Day/Room


Tony

  • Support Staff

December 7, 2020 at 6:39 am

Hi there,

Whilst most the changes you are looking to make are relatively simple to do using a code snippet, there’s an issue with some of the strings you want to change.

For the strings without issues you can use this:

https://gist.github.com/Pebblo/189e33bd53ab92c1ec9f75ea23d8ee11

Add that to a custom functions plugin on the site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Strings line “Name” and “Ticket” can not be changed using something like the above as they are generic and used through Event Espresso, the above change translates those strings site wide.

As it stands we don’t have another method available to translate those strings.


Fildcher

December 7, 2020 at 11:38 am

Thank you. That is awesome! Any idea what way to change the “Name” and “Ticket” strings?
May be make a new method or something. You said it is generic, so what would be the best way to approach this ?


Tony

  • Support Staff

December 7, 2020 at 11:58 am

By generic, I meant strings like ‘Name’ are generic.

Category Name, Ticket Name, Datetime Name etc etc, so anywhere that is listing individual items may have a title of ‘Name’ and using a translation function will change that everywhere so you can#’t use it for a specific section.

Right now there isn’t a way to alter those other strings without custom development, I’ll create a ticket to see what we can do in a future version.


Fildcher

December 7, 2020 at 12:33 pm

Ok. Last thing for this then if u can please check from those images what can be changed and add that to the code on GitHub, I did not specify that before I think 🙂
https://ibb.co/FnyBcmX
https://ibb.co/qd68bbK
https://ibb.co/pRjrGpm
https://ibb.co/ssLCBRY


Fildcher

December 7, 2020 at 12:46 pm

Oh and one last thing will be to change this: https://ibb.co/SffTzns
Probably will be a different method, it is outside, when you click on show details
Example Link: https://cpraedclass.com/classes-cpr/aed/


Tony

  • Support Staff

December 8, 2020 at 5:33 am

You’re right, you didn’t add those previously and completely changing Event Espresso to be based around courses is not something we can support as unfortunately your list of changes will be never-ending as your work through this. For example, you can’t just change ‘Events’ you ‘Courses’ and have every single string automatically take that change site-wide, each string needs to be manually set, other such as ‘View Events’ also need changing etc.

However, what I can do is show you how you change these strings yourself and that way you can make changes as you see fit.

For a handful of changes the function I provided above is fine, but once you start moving onto more and more strings like you will be above you should switch to use PO/MO files and ‘translating’ Event Espresso using POEdit.

We have some documentation on doing that here:

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

.PO files are the human readable/editable files, you use those with POEdit to generate a .MO file.

.MO files are the machine code for your translations, you can’t edit them directly but your site can quickly load/read them.

You then search to PO file for the string you want to change and add a translation to it, generate you MO file and place it in /wp-content/uploads/espresso/languages/ on your site. EE will use that translation file to change the strings you need.

Viewing 7 reply threads

The support post ‘Text Change Inside Plug In WP Admin Event Expresso’ 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