i18next-po-loader-bkpr

1.0.1 • Public • Published

i18next-po-loader

Load gettext PO files as i18next format directly in webpack

Install

npm install i18next-po-loader --save-dev

Webpack config

{
  test: /\.po$/,
  loaders: ['i18next-po-loader-bkpr']
}

Usage

i18next.init({
  nsSeparator: false,
  keySeparator: false,
  lng: 'en',
  resources: {
    de: {translation: require('./translations/de.po')}
  }
})

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i i18next-po-loader-bkpr

    Weekly Downloads

    201

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • raffaele.canale
    • canale.raffaele