2.0.0 • Published 2 years ago

i18next-print-keys v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

i18next-print-keys

Build npm changesets

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}
2.0.0

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago