Support

Home Forums Event Espresso Premium Using translation successfully except for one occurance!

Using translation successfully except for one occurance!

Posted: December 6, 2014 at 11:08 pm

Viewing 7 reply threads


Victoria Lioznyansky

December 6, 2014 at 11:08 pm

I’m using POEdit and .po file to change text through-out the site. Everything is updating fine except for one occurrence. There is a word “ticket” in the Available Tickets section that I can’t seem to change. It’s under “Ticket Options” in the “Available Tickets” section. The line has the name of the event, price and quantity. Price is displayed in the following format: “$100.00 (USD) / ticket”. This is the word “ticket” that I can’t seem to update. I’ve found a word “ticket” in my .po file and added “student” in the translation, but it didn’t take any effect. Again, everything else is working fine, so the file and setup are definitely good. Thank you!


Dean

December 8, 2014 at 1:36 am

Hi,

Try checking/translating the following (ignore the quotes, but the spaces are important):

” / ticket”


Victoria Lioznyansky

December 8, 2014 at 9:19 am

Just tried searching, there is no ” / ticket” (no quotes).


Lorenzo Orlando Caum

  • Support Staff

December 8, 2014 at 9:47 am

Hi,

Here is another way to make the change to the verbiage (second string in array):

https://gist.github.com/lorenzocaum/b4bbd1bb839a1c80b2b4


Lorenzo


Victoria Lioznyansky

December 8, 2014 at 10:21 pm

Lorenzo, thank you, but I need a little more instructions on this code. Do I need to copy this whole snippet of code somewhere? Or does this function already exist somewhere and I just need to update it? Thanks!


Dean

December 9, 2014 at 1:01 am

That code can be added to your themes functions.php or to a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/).


Victoria Lioznyansky

December 9, 2014 at 7:12 pm

Thank you guys, this worked!


Dean

December 10, 2014 at 12:50 am

Glad you got it sorted!

Viewing 7 reply threads

The support post ‘Using translation successfully except for one occurance!’ 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