in 8.0.0-beta.9 can header in createDataColumn support internationalization with i18next? #4073
Unanswered
rabindranathfv
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I am using Inside the table component,
And then to create columns, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i am trying to generate a cell with dinamic and internationalization headers as the example. remenber use t based on i18next implementation like this
import { useTranslation } from "react-i18next";
const { t } = useTranslation();
tablePartner.createDataColumn('example', { id: 'example', header: t("table.headerExample") })
important i also have file.json with the right structure with
"table": { "headerExample": "some translation" }
react-table 8.0.0-beta.9
typescript 4.7.4
Beta Was this translation helpful? Give feedback.
All reactions