translation of the title of the calendar page

Home Forums Calendar Products Events Calendar PRO translation of the title of the calendar page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1065037
    Alexander
    Participant

    I 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.

    #1065040
    George
    Participant

    Hey @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.po

    I hope this helps! 😀

    Cheers,
    George

    #1065054
    Alexander
    Participant

    Thank you George,

    I know where the file lives but I am not able to find the string where ‘Archive’ is translated.

    Sorry.

    #1065925
    George
    Participant

    Hey 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:

    Archive

    and:

    %s Archive

    I 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!
    George

    #1065964
    Alexander
    Participant

    This 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

    #1066503
    George
    Participant

    Hmm, 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,
    George

    #1079849
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘translation of the title of the calendar page’ is closed to new replies.