ra-customizable-datagrid
ra-customizable-datagrid copied to clipboard
Support for translated field names
Does this component support translated labels? I'm using it with a translated admin but on dialog selection field names are not translated.
Hello @gstvg ,
No, but this behavior should be easy to add. Please feel free to submit a PR.
https://github.com/fizix-io/ra-customizable-datagrid/blob/master/src/CustomizableDatagrid.js#L46
add withTranslate
HOC: https://github.com/marmelab/react-admin/blob/master/docs/Translation.md#withtranslate-hoc and use label: translate(...
#5 fix this
@AkselsLedins
Hello @AkselsLedins ,
It looks like https://github.com/fizix-io/ra-customizable-datagrid/pull/5 fixes this issue. When you have a chance, could you please review and merge that Pull Request?
Thank you!
Hi @AkselsLedins ,
It would be extremely helpful to have this fixed. Could you please take a look at this one-line fix, when you have a chance? Thank you!
https://github.com/fizix-io/ra-customizable-datagrid/pull/5/files