Closed LukacTomas closed 2 weeks ago
The keys in the translation file are used to translate the keys text into the translated text. It is expected that when you have a label that has the same text as the key text in the translation file, the label and the error message that uses the label will be have the translated label. For example, if you have a label that matches a translation key like invalidRowsError then the label should be...
and the error message for the required error should be...
This behavior is occurring because the label matches the a key in the translations file
To have the behavior you are expecting you will need to override the invalidRowsError key in the translation file. Here is a jsfiddle that shows how to do this.
Describe the bug When the label for any required component is matching the key from translations file Then the errorLabel is replaced with translated key.
Version/Branch 4.19.x
To Reproduce
Expected behavior Error label should be invalidRowsError. Instead it's its translated version: Please correct invalid rows before proceeding.
Screenshots
Additional context