Support » Plugin: The Events Calendar » Change search bar label in the calendar template

  • Resolved NiktheKick

    (@nikthekick)


    Hi,

    i use the German WordPress version and i installed the events calendar plugin on it.
    Now i would like to change the text of the heading “Search” and the text “Search” in the search field to german words. But i didn’t find the correct PHP file in the plugin folder of the events calendar to change it.

    Could you please tell me, which PHP file i need to edit to change the text of the heading and the search field?

    Thanks in advance.

    http://wordpress.org/plugins/the-events-calendar/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Barry Hughes

    (@websitebakery)

    The English words “Find Events” are used and live in the POT file – I believe they are already translated in the de_DE.po and .mo files to Veranstaltung finden … are you referring to a different string altogether? Where would I see it if I was looking at an unmodified example of our plugin, for instance?

    Thanks for your help. I already changed the word “Search” in the /lib/the-events-calendar.class.php” in line 4073 and 4075. This has resolved the little issue.

    I also found another issue in the “label-tribe-bar-date”. I configured the calendar to show it in the list view as default.
    When i will open the website to see the calendar in the list view, i found out that the label “Veranstaltunngen von” in the “label-tribe-bar-date” is wrong. It must be “Veranstalugen von”…

    I already searched in the de_DE.po file and changed in line 1942 “Veranstaltunngen von” to “Veranstaltungen von”, but it didn’t help.

    Do you have any idea, where i can also change the text? It’s the heading of the date bar besides the search bar on the event calendar page.

    Thanks in advance.

    Plugin Author Barry Hughes

    (@websitebakery)

    I already changed the word “Search” in the /lib/the-events-calendar.class.php” in line 4073 and 4075. This has resolved the little issue.

    Great – but please be aware modifications to core plugin code are likely to be overwritten upon update.

    When i will open the website to see the calendar in the list view, i found out that the label “Veranstaltunngen von” in the “label-tribe-bar-date” is wrong. It must be “Veranstalugen von”…

    I already searched in the de_DE.po file and changed in line 1942 “Veranstaltunngen von” to “Veranstaltungen von”, but it didn’t help.

    Thanks for the correction: I’ll pass that along to my colleague Leah (who collates translations). You should be aware that changing the .po file alone will not cause any changes to take place – it must be recompiled to a .mo format file.

    Thanks for your support Barry Hughes.

    So i will wait for the next update with the correct translations in the .po and recompiled .mo file.

    Plugin Author Barry Hughes

    (@websitebakery)

    Great!

    Hi guys,

    happy new year! I hope you are doing fine!

    Find here the latest german translation for version 3.3.1:
    https://tri.be/support/forums/topic/german-translation-for-events-calendar-pro-3-3-1-and-events-community/

    Best regards,
    Oliver

    PS: this is a great translation plugin:
    http://wordpress.org/plugins/codestyling-localization/

    I use it for all my WordPress website. Give it a try, you will never have issues with translations any more!

    Plugin Author Barry Hughes

    (@websitebakery)

    Hi Oliver – thank you very much! We do also have a dedicated translation forum that is a great venue for contributions like this one (but I’ll flag this up to my colleague Leah so she can review).

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change search bar label in the calendar template’ is closed to new replies.