-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
MUI Translation doesn't work #3514
Comments
The DataGrid has its own locale files. So to get translations, you need to import both the core locale and the DataGrid one. Here is a correction of one of the code sandbox (notice that the footer is now in french). |
About the codeSandbox that does not works, it is due to the outer them which is provided in the doc but not in the codeSandbox. I'm opening another issue for this special case |
Thank you, works well. There is translations missing for pin left, pin right, I assume those can be provided by localeText prop. |
All the missing keys are listed in a special issue. If you can translate some of them, do not hesitate to make a PR :) |
Duplicates
Latest version
Current behavior 😯
Hello.
Mui Data Grid Pro translations doesn't work. They work on free version up to a point (footer is translated, the header menu not).
Please see codesandbox example: https://codesandbox.io/s/datagridprodemo-material-demo-forked-21t6w?file=/demo.tsx
Also, codesandbox example of MUI translation you link to on your Localization page doesn't even run.
Expected behavior 🤔
I expect full table (including header menu) to be translated when nested in Theme which has localization set. For Pro version of data grid.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: