Translation files after update

Home Forums Calendar Products Events Calendar PRO Translation files after update

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #814453
    bd
    Participant

    I’m using The Events Calendar Pro in French and I have modified the translation. Each upgrade suppresses my modified files and brings in the initial translation files. Where should I place my modified .po/.mo files so that they get not suppressed/replaced with every update? (They are currently located in the “lang” folder of the plugin).

    Thank you in advance.

    #814684
    Brian
    Member

    Hello, I can help you out here.

    Unfortunately, anything include in the plugin directory on updates is overwritten including the language files. There is not function feature around that.

    I did find a solution if you would like to do a little coding in this Stack Exchange:

    http://wordpress.stackexchange.com/questions/121463/possible-to-add-a-language-file-to-a-plugin-without-adding-po-mo-files-to-plug

    The Main answer has a way to build a plugin and use that to override another plugins language files.

    That is the only option I have for you besides after an updating uploading your language files back into the plugin.

    Let me know if you have any questions.

    Thanks

    #867027
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Translation files after update’ is closed to new replies.