• Resolved Michael

    (@migaweb)


    When installing a fresh CF7 plugin it will create a first form for your. When I use that in a German WP some messages are still in English:

    https://imgur.com/a/nuvOd2W

    The titles are in German but the actual text is not. Starting from the “wpcf7-message-invalid-date” field I do see German tests.

    When I create a new form and not use the default installed form it will display all fields in the correct German language.
    It would be great if the default form would use the correct localization for all fields already.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter Michael

    (@migaweb)

    Hi, it’s a local page. I can upload it but you won’t see much as it will just show your English texts in the form later one. You can recreate it like this:

    • install a fresh WP
    • install Contact Form 7
    • switch WordPress language to German
    • go to the Contact Form 7 in the backend, edit the default form and check the form messages

    messages will be display in a mix of English and German as seen in the screenshot

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Which German locale do you use?

    Thread Starter Michael

    (@migaweb)

    de_DE. I’ve just searched for “Thank you for your message. It has been sent.” in the database and I see that is is written into post (post_content) and postmeta (meta_key: _messages) for the default form. It think later it will just read it from those fields and not using the translation method. So it thinks it’s a custom message.

    If I delete the postmeta _messages entry it works like expected and will change the default string values correctly. As soon as I change the form (nothing touch in the message tab) it will write the postmeta _messages entry again and I have fixed language strings.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Default contact form has wrong/mixed message languages’ is closed to new replies.