You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug or issue you're experiencing
The form is set up in language A
If no translation is provided it displays language A
If translation to English is provided it displays English even when the default language is set to language A
It also seems like Form page titles aren't translated at all.
Steps to reproduce
Create a Form in a non-english language
create en/freeform.php language file with english version of form
set default language to initial form language
observe form being displayed in english
Expected behavior
form should be displayed in the non-english version
Craft & Plugin Info (please complete the following information):
I can reproduce this as well. When submitting an invalid form I get an error message: "Sorry, there was an error submitting the form. Please try again." but I cannot translate that. I created a file translations/de/freeform.php but to no effect:
<?phpreturn [
'Sorry, there was an error submitting the form. Please try again.' => 'Leider ist beim Absenden des Formulars ein Fehler aufgetreten. Bitte versuchen Sie es erneut.',
'Form has been submitted successfully!' => 'Das Formular wurde erfolgreich abgeschickt!'
];
The same for "Form has been submitted successfully!" after a successfull form submission. Mayber there is some whitespace or line breaks in there? When I copy and paste the message from the rendered frontend of my page and paste it here, it looks like this:
Describe the bug or issue you're experiencing
The form is set up in language A
If no translation is provided it displays language A
If translation to English is provided it displays English even when the default language is set to language A
It also seems like Form page titles aren't translated at all.
Steps to reproduce
Expected behavior
form should be displayed in the non-english version
Craft & Plugin Info (please complete the following information):
Additional context
Related to #264
The text was updated successfully, but these errors were encountered: