* ensured that there is support for ngx-translate and non ngx-translate features
* to enable translation
export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
}
HttpClientModule,
WmlChipsModule
.forChild(
new WMLModuleForRootParams({
ngxTranslateLoaderFactory:HttpLoaderFactory
})
),
* to disable translation
- atteptimg to fix dependencies
- fixed major problems concerning ngx-translate
// translate
// first make sure to have ONLY ONE in the imports for AppModule
TranslateModule.forRoot({
defaultLanguage: 'en',
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps:[HttpClient]
}
}),
// then
WmlChipsNGXTranslateModule
// for regular
WmlChipsModule
- MAJOR : reanme to angular-wml-chips
%!(EXTRA string=
- updated package to reflect the version 16.2.80 of @angular/core package),
- updated package to reflect the version 16.2.80 of @angular/core package,
- updated package to reflect the version 16.2.90 of @angular/core package,
- updated package to reflect the version 16.2.91 of @angular/core package,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
- updated package to reflect the version ^17.0.2 of @angular/core package