Home Forums Newsletter Plugin Support Where can I translate the error messages?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #158932
    irmen
    Participant

    Hi, thank you for your great newsletter-plugin, which I use for years and its always working perfect.
    But till now I just used it in one language.
    Now I have problems with the redirection after subscribing and I cant find where I can
    translate the error messages like :
    “Please type in your Email address”
    or “bitte klicken sie dieses Kästchen an, wenn sie forfahren wollen” when I do not “accetti la nostra politica sulla privacy”.

    Can you tell me, where I can translate these?
    thank you so much!!

    Irmen

    #164512
    Stefano
    Keymaster

    All labels can be translated on admin side. Please not that some messages are shown by the browser validation engine, so we cannot control them. Hence you can see them in German while the site is in English.

    Stefano.

    #272965
    bambambam
    Participant

    Thanks for the great plugin.
    But could you please add the information above to the newsletter polylang documentation?
    “Please note that some messages are shown by the browser validation engine, so we cannot control them. Hence you can see them in German while the site is in English.”
    I spent hours to find where I could translate the field error messages….
    Thank you very much.
    Martina

    #302532
    Sam
    Participant

    It’s possible, just attach the custom error message to the input:

    document.getElementById(‘tnp-2’).setCustomValidity(‘custom error message’);

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.