Support

Home Forums Event Espresso Premium Not Able to Change Wording for "ticket" in …(USD) / ticket on Reg Page

Not Able to Change Wording for "ticket" in …(USD) / ticket on Reg Page

Posted: October 29, 2014 at 12:27 pm

Viewing 3 reply threads


Greg Brailsford

October 29, 2014 at 12:27 pm

Hey guys,

Had no problem changing various text strings in your plugin using POEdit, but apparently changing any standalone instances of “ticket” in your PO file does not change it on the Reg page where it reads $xxx (USD) / ticket. We want it to say “person” instead of ticket but doesn’t seem possible to change via PO editing. Any ideas?


Lorenzo Orlando Caum

  • Support Staff

October 29, 2014 at 3:30 pm

Hi Greg,

I shared in your other post that we were taking another look at the translations process. A gettext filter will be able to handle that change for now.

Here is an example that changes “tickets” to “registration”:

https://gist.github.com/b4bbd1bb839a1c80b2b4

Specifically, see the second line in the gist above:

        ' / ticket' => ' / registration',

You could use the same approach to change tickets to person.


Lorenzo


Greg Brailsford

October 29, 2014 at 10:25 pm

Excellent. Worked like a charm.


Dean

October 30, 2014 at 2:14 am

Marking this as resolved. If for some reason you need to continue with this discussion, please start a new forum thread and link to this one. Thanks.

Viewing 3 reply threads

The support post ‘Not Able to Change Wording for "ticket" in …(USD) / ticket on Reg Page’ 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