ngx-translate-multi-http-loader
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,1 +0,1 @@ | ||
{"name":"ngx-translate-multi-http-loader","description":"A loader for ngx-translate that loads translations from multiple files using http","author":"Dennis Keil","keywords":["angular","angular 2","i18n","translate","ngx-translate"],"license":"MIT","homepage":"https://github.com/denniske/ngx-translate-multi-http-loader","repository":{"type":"git","url":"git+https://github.com/denniske/ngx-translate-multi-http-loader.git"},"bugs":{"url":"https://github.com/denniske/ngx-translate-multi-http-loader/issues"},"peerDependencies":{"@ngx-translate/core":">=10.0.0","@angular/common":">=6.0.0","rxjs":">=6.0.0"},"devDependencies":{"semantic-release":"8.2.3"},"scripts":{"semantic-release":"semantic-release pre && npm publish && semantic-release post"},"main":"bundles/ngx-translate-multi-http-loader.umd.js","module":"fesm5/ngx-translate-multi-http-loader.js","es2015":"fesm2015/ngx-translate-multi-http-loader.js","esm5":"esm5/ngx-translate-multi-http-loader.js","esm2015":"esm2015/ngx-translate-multi-http-loader.js","fesm5":"fesm5/ngx-translate-multi-http-loader.js","fesm2015":"fesm2015/ngx-translate-multi-http-loader.js","typings":"ngx-translate-multi-http-loader.d.ts","metadata":"ngx-translate-multi-http-loader.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"version":"2.0.1"} | ||
{"name":"ngx-translate-multi-http-loader","description":"A loader for ngx-translate that loads translations from multiple files using http","author":"Dennis Keil","keywords":["angular","angular 2","i18n","translate","ngx-translate"],"license":"MIT","homepage":"https://github.com/denniske/ngx-translate-multi-http-loader","repository":{"type":"git","url":"git+https://github.com/denniske/ngx-translate-multi-http-loader.git"},"bugs":{"url":"https://github.com/denniske/ngx-translate-multi-http-loader/issues"},"peerDependencies":{"@ngx-translate/core":">=10.0.0","@angular/common":">=6.0.0","rxjs":">=6.0.0"},"devDependencies":{"semantic-release":"8.2.3"},"scripts":{"semantic-release":"semantic-release pre && npm publish && semantic-release post"},"main":"bundles/ngx-translate-multi-http-loader.umd.js","module":"fesm5/ngx-translate-multi-http-loader.js","es2015":"fesm2015/ngx-translate-multi-http-loader.js","esm5":"esm5/ngx-translate-multi-http-loader.js","esm2015":"esm2015/ngx-translate-multi-http-loader.js","fesm5":"fesm5/ngx-translate-multi-http-loader.js","fesm2015":"fesm2015/ngx-translate-multi-http-loader.js","typings":"ngx-translate-multi-http-loader.d.ts","metadata":"ngx-translate-multi-http-loader.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"version":"2.0.2"} |
@@ -7,3 +7,3 @@ # @ngx-translate/multi-http-loader [![Build Status](https://travis-ci.org/denniske/ngx-translate-multi-http-loader.svg?branch=master)](https://travis-ci.org/denniske/ngx-translate-multi-http-loader) [![npm version](https://badge.fury.io/js/ngx-translate-multi-http-loader.svg)](https://badge.fury.io/js/ngx-translate-multi-http-loader) | ||
Get the complete changelog here: https://github.com/ngx-translate/multi-http-loader/releases | ||
Get the complete changelog here: https://github.com/denniske/ngx-translate-multi-http-loader/releases | ||
@@ -25,3 +25,3 @@ * [Installation](#installation) | ||
Angular | @ngx-translate/core | @ngx-translate/multi-http-loader | ||
Angular | @ngx-translate/core | ngx-translate-multi-http-loader | ||
----------- | ------------------- | -------------------------- | ||
@@ -70,6 +70,6 @@ 6 | 10.x+ | 1.x+ | ||
The `MultiTranslateHttpLoader` takes a list of translation file configurations. Each configuration has two optional parameters: | ||
- prefix: string = "/assets/i18n/" | ||
- prefix: string = "/assets/translate/" | ||
- suffix: string = ".json" | ||
By using those default parameters, it will load your translations files for the lang "en" from: `/assets/i18n/en.json`. | ||
By using those default parameters, it will load your translations files for the lang "en" from: `/assets/translate/en.json`. | ||
@@ -76,0 +76,0 @@ You can change those in the `HttpLoaderFactory` method that we just defined. For example if you want to load the "en" translations from `/assets/translate/core/en.json` and `/assets/translate/shared/en.json` you would use: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24521