Skip to content
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

[question] grid pro multilingual support question #4895

Closed
2 tasks done
jinow9595 opened this issue May 16, 2022 · 3 comments
Closed
2 tasks done

[question] grid pro multilingual support question #4895

jinow9595 opened this issue May 16, 2022 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! l10n localization support: commercial Support request from paid users

Comments

@jinow9595
Copy link

Order ID 💳

39248

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

The problem in depth 🔍

Could you please check whet
grid-pro-columns
her multilingual support for the header part of the table column is possible in Mui's grid pro?

Your environment 🌎

System:
OS: Windows 10 10.0.19044
Binaries:
Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.19041.1266.0), Chromium (101.0.1210.47)
npmPackages:
@emotion/react: ^11.8.2 => 11.8.2
@emotion/styled: ^11.8.1 => 11.8.1
@mui/base: 5.0.0-alpha.74
@mui/icons-material: ^5.5.1 => 5.5.1
@mui/lab: ^5.0.0-alpha.75 => 5.0.0-alpha.75
@mui/material: ^5.5.3 => 5.5.3
@mui/private-theming: 5.5.3
@mui/styled-engine: 5.5.2
@mui/styled-engine-sc: ^5.5.2 => 5.5.2
@mui/styles: ^5.5.3 => 5.5.3
@mui/system: 5.5.3
@mui/types: 7.1.3
@mui/utils: 5.5.3
@mui/x-data-grid: 5.8.0
@mui/x-data-grid-generator: ^5.7.0 => 5.8.0
@mui/x-data-grid-pro: ^5.7.0 => 5.8.0
@mui/x-license-pro: 5.7.0
@types/react: 17.0.43 => 17.0.43
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
styled-components: ^5.3.5 => 5.3.5
typescript: 4.6.3 => 4.6.3

use browser: google chrome

@jinow9595 jinow9595 added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: commercial Support request from paid users labels May 16, 2022
@flaviendelangle
Copy link
Member

Hi,

The translations are handled by the community (otherwise we would not be able to provided up-to-date translations for languages spoken by none of our developers).

You can find a summary of the missing translations on #3211
If you create a pull request, we will review it and bundle it in the next release 👍

@flaviendelangle flaviendelangle added l10n localization component: data grid This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 16, 2022
@m4theushw m4theushw closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2022
@toinhao1
Copy link

I am building a multi language platform and need to be able to switch the language of not only the DataGrid provided components, but also the columnHeaders that I provide.

For the DataGrid toolbar this works perfectly, but if I have to pass in my own translations for the columnHeaders I get the issue below.

The issue is that if I have to re render every-time the language selection is changed then the table is brought to the initial state of the columns.

Before Changing the selected language:
Screenshot 2022-06-24 at 13 34 52

After Changing the language:
Screenshot 2022-06-24 at 13 36 27

@m4theushw
Copy link
Member

@toinhao1 could you open another issue? I think this problem is the same I related in #4950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! l10n localization support: commercial Support request from paid users
Projects
None yet
Development

No branches or pull requests

4 participants