When attempting to translate the error message "Cannot Be Blank" into Dutch, the translation remains in English.
Create a translation file for Dutch in the following directory: translations/nl/formie.php.
Add the necessary translations for the error message "Cannot Be Blank" as follows:
return [
'"{attribute}" cannot be blank.' => '{attribute} mag niet leeg zijn.',
"{attribute} cannot be blank." => "{attribute} mag niet leeg zijn.",
"{label} cannot be blank." => "{label} mag niet leeg zijn.",
];
Expected Behavior:
After adding the translation entries and ensuring the correct file structure, the error message "Cannot Be Blank" should be displayed in Dutch ("mag niet leeg zijn")
Actual Behavior:
Despite providing the translation in the appropriate file, the error message remains in English, indicating that the translation is not being applied or recognized by the Formie plugin.
Additional Information:
Formie plugin version: dev-craft-5 as 3.0.0-beta.5
CRAFT CMS: 5.0.4
PHP: 8.3.2
Question
When attempting to translate the error message "Cannot Be Blank" into Dutch, the translation remains in English.
Create a translation file for Dutch in the following directory: translations/nl/formie.php.
Add the necessary translations for the error message "Cannot Be Blank" as follows:
Expected Behavior: After adding the translation entries and ensuring the correct file structure, the error message "Cannot Be Blank" should be displayed in Dutch ("mag niet leeg zijn")
Actual Behavior: Despite providing the translation in the appropriate file, the error message remains in English, indicating that the translation is not being applied or recognized by the Formie plugin.
Additional Information:
Formie plugin version: dev-craft-5 as 3.0.0-beta.5 CRAFT CMS: 5.0.4 PHP: 8.3.2
Additional context
No response