Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 434 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 434 Bytes

@openculinary/i18next-gettext-loader

Convert gettext PO files into i18next JSON format during webpack builds.

Forked from a no-longer-maintained po-loader with support for i18next.

Install

yarn add @openculinary/i18next-gettext-loader --dev

Webpack config

{
  test: /\.po$/, 
  use: [
    {'loader': '@openculinary/i18next-gettext-loader'}
  ]
}