i18next-webpack-backend
Backend JSON loader for webpack applications.
Get started
Install i18next-webpack-backend
package.
$ npm install i18next-webpack-backend
Add module to your i18n configuration and provide context to load translations from to backend
;; ; ;
If you are using multiload adapder:
;;; ; ;
Translation file structures
Folder structure
Example translations file structure:
.
└── translations/
├── en/
│ ├── commons.json
│ ├── validation.json
│ ├── glosarry.json
│ └── pages/
│ ├── login.json
│ └── register.json
└── lt/
├── commons.json
├── validation.json
├── glosarry.json
└── pages/
├── login.json
└── register.json
License
Released under the MIT license.