Small Translation Edit

Home Forums Ticket Products Event Tickets Plus Small Translation Edit

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1233278
    David Hoe
    Participant

    Hi Guys.

    I recently purchased your excellent Event Tickets Plus plugin. I need to make on small edit.

    In the calendar list view at the top ywe have 3 boxes, date & time of the event, address of the event and Google Map, it is this I need to edit. I would like it to be “View on Google Maps” How do I accomplish this please? I have tried editing the .po file and placing it in the correct wp directory, but it hasn’t been successful

    Many thanks in advance for your help with this.
    Dave

    #1234248
    Geoff B.
    Member

    Good evening David and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    First off, I would like to make a couple of suggestions:

    1. I am noticing that you are a couple of versions behind on our plugins (which are now all at 4.4.2). I would recommend upgrading. For one thing, our latest version has much more reliable language files.
    2. I would highly recommend upgrading your PHP version to at least 5.4+ (older PHP versions typically result in lower performance and strange behaviours)

    But, back to your question for a moment. Here are the top ways to accomplish this (you can choose your favourite):

    1. Using the po file is a great approach (as long as the file is up to date).

      Just make sure you do not have a non-updated language file for our plugin lingering in your /wp-content/languages/ folder. Because if there are, they will override your efforts.

    2. You could also simply do a customization of the view. You might want to read our Themer’s guide to get a sense of how that works.

      Simply put, you just need to make a copy of the view file you want to tweak, change the words there and put the file in the /tribe-events/ folder of your Child theme.

    3. You could also try using the snippet found at the very bottom of this page: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1234305
    David Hoe
    Participant

    Hi Geoff B.

    Thanks for this. updating the .po file didn’t work, unfortunately
    neither did the snippet I added to the functions.php file. Possibly
    because of the font awesome icon before it.

    The String I wish to edit is “Google Map” which is found in two places
    the list view of the calendar and the sidebar of the events page.
    Ideally I only wish to edit it in list view, but I can live with it in
    both instances.

    Also don’t quite follow “You could also simply do a customization of the
    view. You might want to read our Themer’s guide to get a sense of how
    that works.”

    If I purchased the WPML plugin, would that do it.

    Many thanks in advance for your help
    Dave

    #1235013
    Geoff B.
    Member

    Good evening Dave,

    Thank you for writing back.

    I am sorry to hear my recommendations were not more successful.

    Based on this, I think the best approach is to use our Themer’s guide.

    What that allows you to do is to take the file that generates the list view, make a copy of it in your child theme. In fact, Avada already uses this extensively.

    The file that controls that is /wp-content/themes/Avada/tribe-events/list/meta.php at line 44.

    If you simply copy that file AND its path in your child theme, whatever change you make to it, will override our plugin’s normal behaviour and even Avada’s behaviour.

     

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1251155
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Small Translation Edit’ is closed to new replies.