1.0.1 • Published 6 years ago

i18next-po-loader v1.0.1

Weekly downloads
739
License
MIT
Repository
github
Last release
6 years ago

:boom: Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. :boom:


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']
}

Usage

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

6 years ago

1.0.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago