I can’t seem to turn off these updates.
Why? What action have you taken that didn’t work?
You should be able to turn of automatic updates of translattion files via a filter, as documented here.
I did it (add_filter…) but it doesn’t work. Files always updated automatiquely!
exactly : add_filter( ‘auto_update_translation’, ‘__return_false’ );
and I have tried plugins that claim to also handle updates (I didn’t write down the names) but I’m here today because I still don’t have a working solution.
add_filter is the last line of wp-config.php. Is it a problem?
I’m not a developer, but the documentation I linked to above clearly states (emphasis mine):
Configuration via Filters
Using filters allows for fine-tuned control of automatic updates.
The best place to put these filters is in a must-use plugin.
Do not add add_filter() calls directly in wp-config.php. WordPress isn’t fully loaded and can cause conflicts with other applications such as WP-CLI.
That said, I don’t know if adding the filter in wp-config.php is the problem here, but putting the code at the very end is certainly wrong: all additions to wp-config.php should go ABOVE the line that says:
/* That's all, stop editing! Happy blogging. */
No line “stop editing!” in french’s wp-config but I have a fatal error if I move my line in the middle of the file. So I going to try to insert it in a plugin config…
I find it strange that Worpress is telling me that I have translations to update. Looks like my fr_FR files are not considered translations because they have been automatically updated.
I created a new WordPress instance with an old version -1.5.7.1-, I created a php file in mu-plugins with auto_update to FALSE, copied my fr_FR files, I restored my database and … my fr_FR files have been updated automatically!
I found the line / * That’s all, stop editing! Happy blogging. * / in wp-config.php, so I added before “define (‘automatic_updater_disabled’, true);” ; then I updated my fr_FR files, I restored my database and so far no automatic update has been detected. Also, I added?> At the end of config.php because it was missing. Now I’m waiting to see …
Thank you very much for your advice.