verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 69 forks source link

Translations of message #1813

Closed DavidKabelitz closed 2 months ago

DavidKabelitz commented 2 months ago

Describe the bug

Hi we are running multiple sites with formie, since some time the error and success message on top of the form (not at the fields) is not translated anymore. Messages and strings at language files never changed. Field messages are still fine.

Steps to reproduce

  1. Use a Success Message like: Thank you very much! Your message has been sent. or error message like Please double-check your data.
  2. Put both into the lang file (tested both formie.php and site.php)

Form settings

Craft CMS version

Craft Pro 4.8.6

Plugin version

2.1.9

Multi-site?

Yes

Additional context

No response

engram-design commented 2 months ago

That would be due to the change where the text produces proper HTML with paragraph <p> tags. As such, when translating you'll need to provide a respective string in HTML, not just the raw text.

See https://github.com/verbb/formie/issues/1766 and my comment in https://github.com/verbb/formie/issues/1771#issuecomment-2006515719

DavidKabelitz commented 2 months ago

ah ok, thx...missed that one. Will change it! Feel free to close this ticket!