Home › Forums › Calendar Products › Events Calendar PRO › translation of the title of the calendar page
- This topic has 6 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
January 30, 2016 at 8:03 am #1065037
Alexander
ParticipantI want to translate calendar page title ‘Events Archive’ for I don’t like how it’s translated into Russian. I searched through the whole wp-content folder and wasn’t able to locate the file where this string is translated.
Could you, please, give me a hint how to locate it?
Thank you.
January 30, 2016 at 8:15 am #1065040George
ParticipantHey @Alexander,
To manually use a different string for that translation, you would have to edit the .po file in your plugins. You can find these .po files in the /lang/ folder of the plugins.
So, for example, if you wanted to change it within The Events Calendar, then the file would be this one:
the-events-calendar/lang/the-events-calendar-ru_RU.poI hope this helps! 😀
Cheers,
GeorgeJanuary 30, 2016 at 9:10 am #1065054Alexander
ParticipantThank you George,
I know where the file lives but I am not able to find the string where ‘Archive’ is translated.
Sorry.
February 1, 2016 at 12:16 pm #1065925George
ParticipantHey Alexander,
No worries, it’s translated in a number of locations in the file and I would recommend using the “find” feature of a code editor; there are many free code editors like Sublime Text if you don’t have one on your computer already.
But then once you have a code editor with a “find” feature, simply search for these terms in the file:
Archiveand:
%s ArchiveI recommend this approach because .mo and .po files change quite often, so if I were to list out line-numbers based on my own file it may not be accurate. And this method of searching will work for all future file versions, too 🙂
I hope this helps! If you see the word “Archive” on the front-end on your site and cannot find it in the mo or po files, then can you take a screenshot of this specific place on the front-end? We may have a bug where that specific instance of the word is not translatable, which we can fix in an upcoming release…
Thank you!
GeorgeFebruary 1, 2016 at 1:18 pm #1065964Alexander
ParticipantThis is exactly what I did in Sublime. I searched for the string in all *.po files and wasn’t able to locate it. Probably you could tell me the number of the string where ‘%s Archive’ lives?
Thank you
February 2, 2016 at 9:53 am #1066503George
ParticipantHmm, really sorry about this @Alexander – if you’ve searched and have replaced everything and issues still persist, then there might be a bug at play here.
Have you done this search and replacement in both The Events Calendar and Events Calendar Pro? If not, I would recommend this as well to see if that helps.
Thank you so much for your patience with this, @Alexander! I’m sorry about the difficulty in translating this; we’ve got some missing strings that are fixed in the next release and so your current limitation might be a result of these not-yet-fixed bugs.
Thank you,
GeorgeFebruary 22, 2016 at 8:35 am #1079849Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘translation of the title of the calendar page’ is closed to new replies.
