Validation error message does not update when switching language from Hindi back to English
Author: Munishwar001Created Aug 11, 2026Updated Aug 27, 2026
Bug Description
When changing the application language from English to Hindi and then switching back to English, the validation error message remains in Hindi.
Steps to Reproduce
- Open the Sign Up page.
- Set the application language to English.
- Leave the Password field empty.
- Trigger the validation error.
- Change the application language to Hindi.
- Observe the validation message in Hindi.
- Change the language back to English.
- Observe the validation message.
Actual Behavior
The application UI changes back to English, but the existing validation error message remains in Hindi.
Example: "कृपया Password दर्ज करें"
Expected Behavior
When the language is changed back to English, the validation error message should also be displayed in English.
Example: "Please enter Password"
Environment
- Browser: Chrome
- OS: Windows
- Page: Sign Up / Registration
- Language: English → Hindi → English
Additional Information
The issue appears to occur because the translated validation message may be stored in component state instead of storing the translation key and translating it using the current application language.
Source: idurar/idurar-erp-crm