Translation in Greek

Home Forums Calendar Products Community Events Translation in Greek

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18846
    Evangelia
    Participant

    Hi! I have translated the Community Events plugin in Greek using the .pot file provided with the plugin code, but cannot have it working. My pages still render in English. What should I do? What is the naming convention I should use for the .po and .mo files I created?

    #18862
    Jonah
    Participant

    Hi Evangelia,

    That’s great but sorry to hear the translation is not working. Did you follow the instructions here: https://theeventscalendar.com/faq/can-i-change-the-language-that-the-content-of-my-calendar-appears-in-on-the-site/

    I beleive the name of the file should be like:
    tribe-community-events-gr_GR.mo
    tribe-community-events-gr_GR.po

    …and placed in the lang folder inside the community events plugin folder.

    Can you verify you have done the above?

    #18883
    Evangelia
    Participant

    Hi Jonah,
    I have not changed my language in wp-config, what I am doing until now with my theme lang files is translate in Greek, but save them as en_US.po and en_US.mo and it works.
    This is what I tried to do with the plugin lang file too i.e. saved the file as tribe-community-events-en_US.mo
    tribe-community-events-en_US.po
    Sounds weird? You suggest I follow the “official” path with the wp-config, right?

    #18891
    Jonah
    Participant

    Hi Evangelia,

    Yes, I suggest you follow the official path and the instructions we have outlined in the FAQ.

    Cheers,
    Jonah

    #18983
    Hector
    Participant

    @Evangelina, Community Events 1.0 is not loading the text domain for translations, this is a bug that i already reported, wait for the next version, i am sure the problem will be fixed then.

    #19231
    Evangelia
    Participant

    Hi Hector, sorry for the late response, I did not check back the forum after Jonah’s reply.
    I digged into the code a bit and found that the textdomain loaded is wrong, it is “tribe-community-events”, while the _ and _e functions are mostly called with the “tribe-events-community” domain (though there are references of tribe-community-events domain too).
    I changed all domains to “tribe-events-community” in my code, but the plugin still does not load the translation file…
    Should I deactivate and then reactivate it?
    Any other ideas?

    #19289
    Rob
    Member

    Hector is correct here, in that this is a known issue that we’re working hard to fix now. We’ll have the patch deployed in our 1.0.1 build, which should be out the first week of June. Thanks for being patient thus far!

    #19304
    Evangelia
    Participant

    Hi Rob, I will be patient then and wait for the patch. First week of June is not far 🙂
    Thank you very much!

    #19359
    Rob
    Member

    Thank you, for your support and for being patient so far. Let us know what else we can do down the road.

    #976868
    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 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Translation in Greek’ is closed to new replies.