Home › Forums › Calendar Products › Community Events › Change button text
- This topic has 9 replies, 2 voices, and was last updated 10 years, 2 months ago by
Geoff B..
-
AuthorPosts
-
March 1, 2016 at 7:33 am #1083854
Lionel
ParticipantHello,
Please could you check the attached image here : http://i.cubeupload.com/nHRFs6.jpg and tell me how to replace the text “Afficher les événements” by “Afficher événements” ?
And, if you could tell me how to change the color of the button, too, it would be great!
Thank you. 🙂
March 1, 2016 at 7:15 pm #1084155Geoff B.
MemberGood evening Lionel and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.There are 2 ways to accomplish what you are trying to do (change the text):
- By modifying the text found in our French language file (found in /wp-content/plugins/the-events-calendar/lang)
- By adding the following bit of code to your WordPress: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/
As for changing the button’s colour, you just need to add a CSS rule to your WordPress theme. Here’s an example to make it black:
#tribe-bar-form .tribe-bar-submit input[type=submit] {
background: #000;
}Let me know if that helps.
Have a great day!
Geoff B.
March 1, 2016 at 11:48 pm #1084187Lionel
ParticipantHello Geoff,
Thank you.I would ike to use the 1st method.
1) Whis one of these 4 files need I to edit ?
– the-events-calendar-fr-ca.po
– the-events-calendar-fr-ca.mo
– the-events-calendar-fr_FR.po
– the-events-calendar-fr_FR.mo2) I searched on each of these 4 files, and there is no match for the search “afficher les événements” ! 🙁
March 2, 2016 at 10:50 am #1084491Geoff B.
MemberHey Lionel,
As a side note, I can totally switch this conversation to French if you prefer 🙂
1) Whis one of these 4 files need I to edit ?
– the-events-calendar-fr-ca.po
– the-events-calendar-fr-ca.mo
– the-events-calendar-fr_FR.po
– the-events-calendar-fr_FR.moTo answer your question, it depends on the language of the WordPress install (found in Settings -> General)
2) I searched on each of these 4 files, and there is no match for the search “afficher les événements” !
Hmmm, could you try the same search with “Find Events” as a search string instead ?
Let me know how that goes.
Best regards,
Geoff B.March 3, 2016 at 12:00 am #1084700Lionel
ParticipantHey Geoff,
Thank you, but let’s continue in English, I need to work my english 😉
I searched, but nothing. Please check following link :
March 3, 2016 at 1:33 am #1084717Geoff B.
MemberHello Lionel,
Oh, I see, you are using WPML 🙂
Could you please provide us with your system information in a private reply to make sure I have the complete picture? (following the instructions found in the link)
In WPML if you update the po/mo files, you will need to re-scan them from the “Localisation du thème et des modules d’extensions” screen.
Also, could you confirm if you followed the instructions in this post for setting up WPML ?
https://theeventscalendar.com/knowledgebase/setting-up-the-events-calendar-with-wpml/Have a great day!
Geoff B.
March 3, 2016 at 1:56 am #1084730Lionel
ParticipantThis reply is private.
March 3, 2016 at 1:27 pm #1085043Geoff B.
MemberHey Lionel,
Thank you for sharing your system information.
As an unrelated comment, just a word of caution on the The Events Calendar: Frontend Submission plugin, as we do not support it.
How about searching for the following string instead: Afficher les %s ?
Let me know how that goes.
Best regards,
Geoff B.March 4, 2016 at 1:36 am #1085157Lionel
ParticipantHey Geoff,
I don’t know why, but it shows the right string now. Maybe cache thing ?
In any case, thank you ! 🙂March 4, 2016 at 3:06 pm #1085369Geoff B.
MemberHey Lionel,
Hmmm, not sure what happened exactly, but I guess the important part is that it works now 🙂
Come back to our forums anytime.
Have a good week-end,
Geoff B.
-
AuthorPosts
- The topic ‘Change button text’ is closed to new replies.
