Language files are not working

Home Forums Calendar Products Events Calendar PRO Language files are not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1090275
    Samarpan P.
    Participant

    We love your plugin. Great work! Unfortunately, the language files (.mo and .po) outside the plugin folder (wp-content/languages/plugins) are not working. How can we fix that? As far as I can see, these files are loaded by default from the plugin directory only. It would be more user-friendly to load the language files first from the wordpress languages directory and then from the plugin directory. Then the first found translation would be used.

    Thank you for your help.

    Samarpan

    #1090799
    Geoff B.
    Member

    Good evening Samarpan and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    You are absolutely right, that would be a great improvement to prioritize the wp-content/languages/plugins first.
    In fact, I will make sure this gets logged properly as a recommendation.

    In the meantime, have you tried simply deleting the version found in the plugin directory wp-content/plugins/[youreventcalendarplugin]/lang for your language only ?

    Normally, that should ensure the version found in the wp-content/languages/plugins for your language will be used.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1091970
    Samarpan P.
    Participant

    Hi Geoff,
    thanks, your suggestion works out well.

    Best wishes to you
    Samarpan

    #1092120
    Geoff B.
    Member

    Hey Samarpan,

    I’m glad it worked out for you! Kudos!

    As a side note, you will be contacted if this feature gets implemented (priority to the wp-content/languages folder).

    You are welcome back on our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

    #1119528
    Leah
    Member

    Hello!

    I’m happy to report that we have been working on this feature for our upcoming 4.2 release. The new features for each of our plugins are currently being tested by our QA team and by our beta testers. Soon we’ll be putting the finishing touches on the code and then shipping the new versions out to our lovely customers.

    Thank you for your patience while we worked on this. We appreciate your support! Keep an eye out for version 4.2 coming your way in the coming weeks.

    Cheers,
    Leah
    and The Events Calendar team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Language files are not working’ is closed to new replies.