Home › Forums › Ticket Products › Event Tickets Plus › Small Translation Edit
- This topic has 5 replies, 4 voices, and was last updated 9 years, 2 months ago by
David Hoe.
-
AuthorPosts
-
February 11, 2017 at 2:09 am #1233278
David Hoe
ParticipantHi 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.
DaveFebruary 13, 2017 at 7:42 pm #1234248Geoff B.
MemberGood 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:
- 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.
- 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):
- 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.
- 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.
- 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.
February 14, 2017 at 12:00 am #1234305David Hoe
ParticipantHi 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
DaveFebruary 14, 2017 at 10:19 pm #1235013Geoff B.
MemberGood 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.March 8, 2017 at 8:35 am #1251155Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Small Translation Edit’ is closed to new replies.
