-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic translation (i18n) support for emptyText #8044
Labels
Comments
That's a nice idea. We would gladly welcome a PR on this topic! The PR should include the code, unit tests, and the documentation. |
@fzaninotto @septentrion-730n the adjustment here must be for all fields or just for the date? I can raise this PR! |
Please do it for all fields. |
Should this issue be closed now? |
Indeed, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The
emptyText
prop value of field components is not automatically translated as it is done for thelabel
prop.Describe the solution you'd like
Having the possibility to have the
emptyText
prop value being translated when available for example:Describe alternatives you've considered
I am using
useTranslate
hooks with the result store in a variable like so:const t = useTranslate();
Then I translate the key manually:
Additional context
N/A
The text was updated successfully, but these errors were encountered: