i18next preprocessor to print translation keys including interpolated values.
npm install i18next-print-keys
yarn add i18next-print-keys
import i18next from 'i18next'
import printKeys from 'i18next-print-keys'
i18next.use(printKeys).init({
postProcess: 'printKeys',
})
i18next.t('key') // key
i18next.t('key', { count: 1 }) // key {"count":1}