antd login page translations
Hi guys, I'm trying to figure out how to translate this error message, everything else is translated correctly.
Note that the "please enter" text is still in english.
![No description](https://cdn.answeroverflow.com/1229574037051543582/Screenshot_2024-04-15_at_5.27.32_PM.png)
3 Replies
Hi @eruecco87. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Refine supports internationalization (i18n) and allows you to create your own translation files to override the default texts. This includes the text for the login page and error messages.
Here is an example of how you can override the default texts:
You can replace the English text with the translations in your desired language. For example, if you want to translate the "please enter" text, you can add a new key-value pair in the "errors" object like this:
Please refer to the Refine documentation on i18n Provider (https://refine.dev/docs/i18n/i18n-provider#translation-file) for more details.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@210833696469680129> kapa.ai is still learning and improving, please let us know how it did by reacting below
harsh-harlequin•5mo ago
The bot's suggestion ain't it