• Resolved fanman1948

    (@fanman1948)


    Hi,
    How can I turn off the automatic language version update? Because I changed a few things for my game and it gets overwritten from the auto update every morning. Do you have any ideas? I’ve already added two filters to the wp-config file to no avail.
    define( 'WP_AUTO_UPDATE_CORE', false );
    add_filter( 'auto_update_plugin', '__return_false' );

    • This topic was modified 3 years, 5 months ago by fanman1948.
    • This topic was modified 3 years, 5 months ago by fanman1948.
Viewing 8 replies - 1 through 8 (of 8 total)
  • I think can try this in your wp–config.php, if you not already have.
    define( 'WP_AUTO_UPDATE_TRANSLATION', false );

    Thread Starter fanman1948

    (@fanman1948)

    I have this one
    define( 'WP_AUTO_UPDATE_TRANSLATION', false);
    Still not working :/

    I actually have this as well in my theme function.php in additional to the above.

    
    add_filter( 'auto_update_translation', '__return_false' );
    add_filter( 'async_update_translation', '__return_false' );
    
    Thread Starter fanman1948

    (@fanman1948)

    I try this tomorrow morning (:

    Plugin Author AntoineH

    (@antoineh)

    What is the path of your custom language file?

    Thread Starter fanman1948

    (@fanman1948)

    I replaces the original language files in the plugin folder.

    Plugin Author AntoineH

    (@antoineh)

    Try to put your files in the following folder: /wp-content/languages/football-pool

    That way the files won’t be overwritten by the auto-update (or plugin updates). Hope this fallback still works for the language files.

    Thread Starter fanman1948

    (@fanman1948)

    `I actually have this as well in my theme function.php in additional to the above.

    add_filter( ‘auto_update_translation’, ‘__return_false’ );
    add_filter( ‘async_update_translation’, ‘__return_false’ );`

    This fixed the problem (I think) as there was no update today.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘language update’ is closed to new replies.