Support

Home Forums Event Espresso Premium EE4 change language of max tickets using Poedit and correct file

EE4 change language of max tickets using Poedit and correct file

Posted: August 6, 2015 at 3:30 pm

Viewing 2 reply threads


Maureen McNamara

August 6, 2015 at 3:30 pm

I want to change the wording of the max. number of tickets sold message on the events registration page.

http://cannabistrainers.com/event-registration/

I’ve followed the instructions here:
https://eventespresso.com/wiki/how-to-change-wording-with-poedit/
including editing the wp-config file.

Though it was not clear where to down the file at glotpress. I did manage to download
event-espresso-4-en.po
made the change to read
Max. number of %1$d tickets per order.
and in the file menu selected the compile to MO option and saved the
event-espresso-4-en.mo file
I went to transfer it via ftp to the wp-content/uploads/espresso/languages directory and didn’t find that directory so I created a languages directory and uploaded the .mo version of the file there. And then edited the wp-config file to
define(‘WPLANG’, ‘en_US’);

cleared the cache (chrome) and reloaded the page – no change showing
I cleared the cache and tested in Firefox – no changes

I noticed that the file name in the EE article does not have a 4 in the file name.
“download a copy of the event_espresso-en_US.po”

Do I have the wrong file? Did I make and error someplace?


Lorenzo Orlando Caum

  • Support Staff

August 7, 2015 at 7:39 am

Hi there Maureen,

Was this the only phrase that you were wanting to change?

If so, there is an easier way to change it. The example in this link could be added to your child theme’s functions.php file or via a site specific plugin:

https://gist.github.com/lorenzocaum/38baf9ceb1188185187d

You’ll want to change the sample messaging that appears to the right of the arrow (=>) and then save changes.


Lorenzo


Maureen McNamara

August 11, 2015 at 11:47 am

Created a site specific plugin and worked perfectly in both EE$ and EE$ beta.
Thanks

Viewing 2 reply threads

The support post ‘EE4 change language of max tickets using Poedit and correct file’ 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