verbb / formie

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

[2.x]: Translation problem with subfield prefix and mail var `All Form Fields` #1938

Closed Megafry closed 3 months ago

Megafry commented 3 months ago

Describe the bug

I have a form on a German site. in the frontend, the dropdown options get translated to Herr, Frau, ... The values are in English mr,mrs... which is alright since these values are fix and shared over multiple sites/languages. In the Email with the variable All Form Fields the field doesn't get translated.

I also try to add them to /de/formie.php without success.

'mr' => 'Herr',
'mrs' => 'Frau',
'ms' => 'Frau',

Steps to reproduce

  1. Change the site to german
  2. Import this form formie.json
  3. Submit the form
  4. Open the notification
  5. The value of the field prefix is not translated

Small side note

The email preview shows the label and not the value of the field.

Form settings

Craft CMS version

4.10.1

Plugin version

2.1.19

Multi-site?

Yes

Additional context

No response

engram-design commented 3 months ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.19".

engram-design commented 3 months ago

Fixed in 2.1.20