• Resolved maportugal

    (@maportugal)


    Button translation is not working. The form the building mode appears translated correctly, but the page does not. I’ve already cleared the nagevador’s cache and that didn’t solve it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tripetto

    (@tripetto)

    Thanks again for your report. We had a look at it and saw you use a minify/cache plugin called ‘W3 Total Cache’. Apparently that plugin minifies the JavaScript bundles of Tripetto in such a way the translations are not being processed properly.

    We have been able to resolve this issue by excluding one of our Tripetto scripts from the minifier in W3 Total Cache. Could you try the following?
    – Open the settings of W3 Total Cache in your WP Admin;
    – Go to the Minify settings tab;
    – Scroll to the Advanced section;
    – In the field ‘Never minify the following JS files:’ please insert the following:
    wp-content/plugins/tripetto/vendors/tripetto-runner.js
    – Save your changes;
    – Refresh the page with your Tripetto form, or test the Tripetto form with the shareable ‘Run’ link.

    We have tested these steps and have been able to resolve the translations issue (both with the shortcode and shareable link), so for now we resolve this support topic over here. Please let us know if this also fixed it at your side.

    We will internally see if there is anything we can do in our codebase to prevent such situations.

    Thread Starter maportugal

    (@maportugal)

    This only solved the problem for the form shared by a link.
    The form embedded in the page remains with the translation problem.

    Thread Starter maportugal

    (@maportugal)

    Well, first I disabled W3 Total Cache. That did not solve it. Then I deactivated Autoptimize. With both turned off the translation worked.
    Finally, I installed and configured the WP Fastest Cache. Everything is working as expected.

    Plugin Author Tripetto

    (@tripetto)

    Ok, so it seems we have a compatibility issue with both W3 Total Cache and Autoptimize. Maybe both use the same minifier (JSMin). We will look into that.

    W3 Total Cache can be used when the exclude rule as described above is set. We did a test and that worked on our end.

    Autoptimize needs further investigation.

    Thanks for your feedback!!!

    Let me know if you need assistance re. Autoptimize, but excluding is available there as well, both for CSS & JS.

    frank (ao dev)

    Plugin Author Tripetto

    (@tripetto)

    Thank you Frank for your message!

    We just released an update for our plugin, that improves/fixes the compatibility with Autoptimize and W3 Total Cache.

    Please update to the latest version (v3.0.5) and everything should work out-of-the-box without the need for adding things to the exclude lists.

    Thank you all for the feedback/help! Much appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Button translation is not working.’ is closed to new replies.