i18next-print-keys
v2.0.0
Published
i18next preprocessor to print translation keys including interpolated values.
Downloads
4
Maintainers
Readme
i18next-print-keys
i18next preprocessor to print translation keys including interpolated values.
Installation
npm
npm install i18next-print-keys
Yarn
yarn add i18next-print-keys
Usage
import i18next from 'i18next'
import printKeys from 'i18next-print-keys'
i18next.use(printKeys).init({
postProcess: 'printKeys',
})
Example
i18next.t('key') // key
i18next.t('key', { count: 1 }) // key {"count":1}