Support » Fixing WordPress » Automatically update translations with wp cron

  • Resolved Feriman

    (@feriman)


    I would like to create a wp cron job for automatically update translates in WordPress.

    How should I start to do this job?

    Thanks!

    • This topic was modified 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That’s a great question. Do you have wp-cli installed?

    https://wp-cli.org/

    I use wp-cli to update the whole works via a shell script on a cron job. Have you tried that?

    Feriman

    (@feriman)

    Thanks, @jdembowski

    Yes, the wp cli installed. These below commands are useful for update translate files for core, themes and plugins:

    wp language core update
    wp language theme update --all
    wp language plugin update --all

    Thanks again for the hint!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    LAUGHTER! I was looking up the wp language commands when you posted that. ๐Ÿ˜‰

    Feriman

    (@feriman)

    You will be faster next time ๐Ÿ˜‰

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatically update translations with wp cron’ is closed to new replies.