• Resolved KittMedia

    (@kittmedia)


    Hi there!

    We use a GitLab CI deployment to deploy our plugins on production. However, if we change translations in our MO files and deploy them, they’re not automatically updated. I didn’t dig into the plugin code yet, so I would like to ask how we can reset the plugin’s generated data after deployment?

    As a plus, it would be great to get it working from the deploy system itself, e.g. via “remove files xyz” or “use the WP-CLI command xyz”.

    Best regards,
    Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter KittMedia

    (@kittmedia)

    Got it: since the generated PHP files live in the same directory as the translations, removing them works.

    Plugin Author Pascal Birchler

    (@swissspidy)

    Heya, sorry for the delay, I was on vacation. Yes, deleting the files is the easiest way ??

    In the future there can be a WP-CLI command, and of course translate.www.ads-software.com would simply provide the PHP files directly so there’s no need to do anything manually.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset converted translations upon deployment’ is closed to new replies.