• Resolved webworklife

    (@webworklife)


    How can I change the “Tickets are no longer available” message that appears when the ticket sale is over. We want online sales to end an hour before the performance, but want people to know that tickets are still available at the door. So if we can change the message from “Tickets are no longer available” to “Online Tickets are no longer available”.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • po files can be downloaded here: https://translate.ww.wp.xz.cn/projects/wp-plugins/event-tickets/stable/
    and opened with POEdit. There you can search for the phrase and adjust it to your liking.

    Save the file as ‘event-tickets-en_EN’ and upload the po and mo files to wp-content/languages/plugins

    Thread Starter webworklife

    (@webworklife)

    Thanks for the information but this did not change the message.
    I downloaded the po file “wp-plugins-event-tickets-stable-en-gb.po” from the link you provided. I used POEdit to translate the one line “Tickets are no longer available” to “Online Tickets are no longer available”. I then saved the file as “event-tickets-en_EN.po” and “event-tickets-en_EN.mo” and uploaded these two files to wp-content/languages/plugins. This folder didn’t exist so I had to create it.

    What am I missing?

    Change the name to event-tickets-en_GB.po and event-tickets-en_GB.mo

    Thread Starter webworklife

    (@webworklife)

    I changed the file names and it is still not working.
    I did not see an English EN to download from the translate link you sent that is why I downloaded the GB file.

    This is what my files and location looks like, I’m dutch, you should rename your file according to your WP language

    Complete List of WordPress Locale Codes:
    https://wpastra.com/docs/complete-list-wordpress-locale-codes/

    • This reply was modified 4 years, 7 months ago by Jeroen.
    Thread Starter webworklife

    (@webworklife)

    OK, my Site Language is “English (United States)” so I changed the file names to event-tickets-en_US.po and event-tickets-en_US.mo, based on the link you sent, but it is still not replacing the text.

    Thread Starter webworklife

    (@webworklife)

    I went through the whole process again, with one small change. I downloaded the .pot file from the plugins/event-tickets/lang folder and opened that in POedit, saved as a translation file, made my changes, then saved as .po and .mo. Uploaded to the language folder and now it is working.

    Thanks for pointing me in the right direction and sticking with me until it was resolved.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Change Message’ is closed to new replies.