• <p>Version: 5.7.2 keeps breaking my website translation.</p>
    <p>?</p>
    <p>You did an update 5.7.1, but the problem persists. Your plugin keeps breaking the site.</p>
    <p>?</p>
    <p>Обновление 5.7 поломало мой сайт. Все переводы сломались, формы стали кривые. Я половину дня искал причину. Большая просьба тестировать обновления перед выпуском.</p>

    <!– wp:paragraph –>
    <p></p>
    <!– /wp:paragraph –>

    • This topic was modified 1 year, 11 months ago by slavik67.
    • This topic was modified 1 year, 11 months ago by slavik67. Reason: Version: 5.7.2 keeps breaking my website translation
Viewing 5 replies - 1 through 5 (of 5 total)
  • We have the same problem.
    Currently using (or was using) v5.7.2. After a debugging inspection, it came out that CF7 was breaking our translated pages. After deactivation, translations came back properly.
    Translation: localization via POT file(s).

    Having the same problem, since 5.7 string gettext translations are not working anymore.

    I took some time to investigate this issue and working workaround seems to be adding .po and .mo files for default source language even if the files are empty.

    E.g. my site default and source language is en_US for which I don’t need po/mo files, because language strings are hardcoded. Another language is de_DE for which I’ve got po/mo files generated and translated. Adding po/mo files for en_US language seems to solve the issue.

    Version 5.7.7 keeps breaking translation.

    @jirsbek thank you very much! Your instruction helped to solve the problem.

    • This reply was modified 1 year, 4 months ago by anna.

    I solved it by commenting a line in /plugins/contact-form-7/includes/I10n.php line: 143

    if ( $do_switch_locale ) {
    wpcf7_unload_textdomain();
    //switch_to_locale( $locale );
    wpcf7_load_textdomain( $locale );
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version: 5.7.2 keeps breaking my website translation’ is closed to new replies.