• I want customize some plugin errors that are not translated. I installed the plugin Loco translate that I already use to translate other plugins on my website but with your plugin an error occur.

    Can you add compatibility to Loco Translate?

    When you open Loco translate, click on plugin and select your plugin an alert say the bundle is not fully compiled. When try to add a template or a language an error is showed by the Loco translate.

    Your plugin is the only one gives this issues. Hope you can fix so I can translate the English error message showed by your plugin to spam bots. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    Hi.

    I’ll have a look on it.

    Until then I would suggest to either uncheck the option “Apply when logged in”, or instead to exclude the relevant roles from processing of the spam check with the option “Whitelist user roles”. This is my general recommendation, as this avoids many incompatibilities. The opportunity to apply the spam check as admin, is rather thought to be used for testing purposes, than for daily use.

    The reason why this option is checked by default is, that many users think the plugin doesn’t work, if they check their forms the first time.

    Cheers, Matthias

    Thread Starter peopleinside

    (@peopleinside)

    Hi thanks, this topic is about the issue about be unable to translate your plugin with Loco Translate. I’m glad you will look into this.

    About the option to apply when logged in i have already tried to disable this but in a few minutes or hours i still have a lot of system messages in spam ??

    Thread Starter peopleinside

    (@peopleinside)

    @matthiasnordwig in the main time you try to fix the impossibility to translate your plugin with Loco Translate, can I ask if you may suggest to me a hook snippet code for replace the error message in the class-stamp.php “Your message has been classified as spam! If you are a human, we are very sorry. Please give us notice via email.”?

    This seems to be present in the line 656

            // If spam shall be blocked and message is spam
            if ( get_option( Option::POW_BLOCK ) && $this->plugin_spam ){
                $error_message = __( 'Your message has been classified as spam! If you are a human, we are very sorry. Please give us notice via email.', 'gdpr-compliant-recaptcha-for-all-forms' );
                // block spam
                if ( $action && $action == 'forminator_submit_form_custom-forms' ){
                    $response = array(
                        'success' => false,
                        'data' => array(
                            'message' => $error_message,
                            'success' => false,
                            'notice' => 'error',
                        ),

    I need translate this and show a custom message.
    Thanks.

    Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    Hi.

    You can customize the error message in the options “Error message” since the last release.

    Cheers

    Thread Starter peopleinside

    (@peopleinside)

    You can customize the error message in the options “Error message” since the last release.

    Great, it works, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Impossibile to translate with Loco Translate’ is closed to new replies.