How to change the Page title for the Events Calendar?
I have a menu item on my Word Press site that links to:
I did not create a dedicated WordPress Page and did not use any Template Tags. It is just the menu with the above URL. When the user clicks the menu item the calendar is displayed. Nevertheless, the German title of the page is “Veranstaltungskalender”. How do I change this title to e.g. “Termine” or any other text?
Hey Joerg, thanks for the note. You could always modify the language file for your particular install, if you wished to, so that the event calendar title always displayed as “Termine” or whatever you wanted. If the issue is just the slug for the URL, that can be changed under Settings –> The Events Calendar.
Does that help? Let me know if not or if I misinterpreted the request here.
Hi Rob, Thanks for the prompt reply. So I cannot change the title of the page using the WordPress backend. As a result, this is not trivial and could end up with a PEBKAC for the normal user. Normally I avoid editing source files since I’d lose the changes anyway with the next update. I am not a WordPress developer. After 5min of Google I found out that there are PO, MO and POT files. Then I found out that the MO file is a kind of compiled version of the PO file. Next I downloaded a tool called Poedit, edited the strings in the PO file. I found out that the MO file is automatically regenerated when saving the PO file with the tool. I did the mistake first to edit the PO file of The Events Calendar PRO and then there were no effects on the web site. I then edited the PO file of the non-PRO version of The Events Calendar, updated the files on the server, and voilà it says now “Termine” instead of “Veranstaltungen”.
I am using the plug-in on the web site of our apartment building to organize important dates for the owners of the apartments. In the calendar we have entries like “waste collection” or “owner’s meeting”. That’s why you wouldn’t use the German word “Veranstaltung” (event) but better “Termin” (date). An event in German is rather a happening like a concert or an opening of a store.
Hey Joerg. You are correct: this is unchangeable on the backend, but you could modify it by changing the core files of the plugin. You are also correct regarding your assessment of how the PO/MO files work.
So are you saying you need to have two different navigation elements? Wouldn’t using categories to sub-divide this better accomplish what you’re going for, with less effort required?
Hey Julien. At this point, no – upgrading is unfortunately going to overwrite anything that wasn’t done using the standard template override procedure. However: if you were willing to submit an updated translation file for free/PRO/both to me, I could make sure that was included in the next release so that these translations were the official ones going forward. That way they’d never be overwritten since the files would be in the core code.