I use WordPress in French with the Event Calendar plugin.
This plugin comes complete with a French translation, but it has some errors. I want to fix them, but replacing the source file is a bad idea, as it will be replaced by the next update. I contacted the developer to submit the fix, but this may take some time.
In the meantime, I would like to download a duplicate that I made from the templates directory. I have already tried several things like:
load_plugin_textdomain( 'tribe-events-calendar', get_template_directory() . '/languages' );
Or using
add_filter('override_load_textdomain', β¦)
in my functions.php, but it doesn't seem to work. The only thing I managed to do was disable the download of the source translation file.
Is there a way to replace the plugin translation file at boot time? I also use WPML, but in the "Translate with .mo files" mode is not in the "Translate to WPML" mode, so I canβt change the translation plugin on the fly. Maybe WPML can download my own event calendar translation?
Leben source share