Posted: 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 hope it is an easy solution. |
|
Also some other part of the inside of the Plug-IN https://ibb.co/bRr6SgH |
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. |
|
|
Thank you. That is awesome! Any idea what way to change the “Name” and “Ticket” strings? |
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. |
|
|
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 🙂 |
|
Oh and one last thing will be to change this: https://ibb.co/SffTzns |
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 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 |
|
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.