• Hi,

    Most of my sites (and a good portion of Kadence users) are speakers of languages other than English. As the end user only sees the website on the frontend, we developers never need to touch the .po and .mo files, since with Kadence in english we can translate all the frontend fields directly through the theme and plugin settings.

    However, when someone receives an email sent through the Kadence form, it always says “Sent from (Blog Name)” at the end of the email.

    I believe that this message (Sent from) should be possible to modify directly in the Gutenberg email form block as well as fields and messages such as Full Name, Mail, Message, Submission, Success, Thanks for getting in touch, etc.

    I find it quite annoying having to always touch the .po and .mo files of each site just to modify these 2 words. This is the only Kadence message that reaches the end user in the frontend without the possibility of direct modification by the theme/plugin. Having it in the email block itself would solve a huge inconvenience.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @kozmonauta

    The text at the bottom of the WooCommerce emails is added via WooCommerce. There is a text box in the dashboard at WooCommerce > Settings > Emails for the footer text. You will see the words “Sent From {site_title}.” You could remove the words “Sent from” in the text box setting so it doesn’t appear. Beyond that, there is a filter for the text at woocommerce_email_footer_text.

    Thread Starter kozmonauta

    (@kozmonauta)

    Hi @ghernkadence
    It is not an email sent via WooCommerce.

    This is when a user sends an email through the Kadence form block. The message arrives in webmaster’s email with “Sent From (blog name)” at the end of the message.

    On the website only Kadence is installed.

    Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @kozmonauta

    I apologize. I must have thought I was in the email customizer forums. Instead, try using PHP to change the string. You can add PHP code to your site using a plugin like Code Snippets or your functions.php file (in a child theme). You can change the text that reads “This was changed.” to HTML or whatever else you’d like. Try the Snippet and let us know if it works for you.

    add_filter('kadence_blocks_form_email_footer_text', function() {
       return "This was changed.";
    }, 20);
    Thread Starter kozmonauta

    (@kozmonauta)

    Hello @ghernkadence
    I know how to do it via snippet.
    My suggestion is that if possible it would be possible to translate this single word by the plugin in a next update. As it is an essential translation, it could be added to the other translations that Kadence already provides us natively via the plugin. I’m already using Kadence on dozens of sites, and from what I’ve seen, the entire plugin and theme allows you to internally translate the information that goes to users outside the admin, the only word missing is just this one.

    I believe that the thousands of Kadence users who are not native English speakers would be very happy with this update.

    Thank you.

    Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @kozmonauta

    Besides the snippet, the string is found in the kadence-blocks text-domain. For example, you can translate it using a plugin like LocoTranslate, or Say What. The string is “Sent from %s” in the “kadence-blocks” text-domain. the %s refers to the site name.

    Thread Starter kozmonauta

    (@kozmonauta)

    Hi @ghernkadence
    I know that… This is what I need to do on all sites. Because of this only word I need to install Loco on dozens of sites and modify the po/mo of these sites.

    As I said in the first message: “I find it quite annoying having to always touch the .po and .mo files of each site just to modify these 2 words. This is the only Kadence message that reaches the end user in the frontend without the possibility of direct modification by the theme/plugin. Having it in the email block itself would solve a huge inconvenience.

    And that’s why I said in my last message.. “I believe that the thousands of Kadence users who are not native English speakers would be very happy with this update.”

    If you could put this single word to translate directly in the form block or in the Kadence configuration, you would help thousands of non-english users. It’s the only word that doesn’t allow you to do this straight from Kadence.

    Thank you!

    Plugin Support karlalevelup

    (@karlalevelup)

    Hi there!

    I understand how this can be helpful so I added an official feature request for it here – https://www.kadencewp.com/kadence-blocks/feature-requests/block-options-for-changing-the-default-email-footer-text/

    Other users can vote for it. However, we cannot give an estimated date for when this will be implemented.

    Let us know if we can help you further with this.

    Regards,
    Karla

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Modify email message (Sent from) directly through the form block in Gutenberg.’ is closed to new replies.