Closed XiuJuanXia closed 2 years ago
@XiuJuanXia This is related to there being no error messages (similar to #105).
The reason the error message is in english is because it is the browser default message. The browser will use whatever default language is being used by the browser/OS.
Suggest Close?
@echouin, tested in Chrome and Firefox, the three fields that have red asterisk * at the end are read "required" by screen readers. And also if checking the source code, required="required" for the input fields. In this case, if we leave the three fields empty and submit the form, proper error message should be triggered in proper language.
From OP: the reason for the alerts in the wrong language has to do with the client browser/OS config, not Drupal. There is a related issue being worked on here #105 , suggest that this one be closed in favor of 105 (which should solve both issues).
@echouin we do not close issues until the item has passed testing.
@mmiron-HC This is a Drupal WxT issue. OP unable to fix at this time.
Should be resolved with the fix that was implemented for 105
this issues were resolved. Issue closed.
URL: https://hcdev.openplus.ca/fr/form/subscribe User Agent: Chrome Language: French
Issue Description: In French page, if leave any required field empty and activate the “Soumettre” button, English error message appears.
Steps to reproduce:
Expected results: In French page, error message should be translated into French.