I'm submitting a ... (check one with "x")
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
It seems I'm not the only one : https://www.reddit.com/r/Angular2/comments/88rf25/angular_translations/
Error :
AppComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: Object(...) is not a function
at TranslateFakeLoader.getTranslation (ngx-translate-core.js:23)
at TranslateService.getTranslation (ngx-translate-core.js:556)
at TranslateService.retrieveTranslations (ngx-translate-core.js:543)
at TranslateService.setDefaultLang (ngx-translate-core.js:483)
at new AppComponent (app.component.ts:43)
at createClass (core.js:10382)
at createDirectiveInstance (core.js:10217)
at createViewNodes (core.js:11674)
at createRootView (core.js:11563)
at callWithDebugContext (core.js:12929)
Expected/desired behavior
Works fine with previous version 9.1.1
Reproduction of the problem
app.components.ts :
constructor(private translateService: TranslateService,) {
this.translateService.setDefaultLang('fr');
Please tell us about your environment:
ngx-translate version: 10.0.1
Angular version: 5.2.9
Browser: [all]
As answered in like 5 or 6 other similar issues, and explained in the readme and the changelog: V10 is not compatible with Angular 5, only 6+.
For those who need the old version you need npm i @ngx-translate/[email protected].
There is example here.
I had been struggling with the issues for two days. after taking a look at it. it worked for me. thx
@lut2410 thanks man its save my time......................
If you are using http-loader, the compatible version is 2.0.1:
npm install @ngx-translate/[email protected] --save
run npm i @ngx-translate/[email protected] on command prompt working fine for me.
just go with yarn add @ngx-translate/[email protected] for ionic 3
For those who need the old version you need
npm i @ngx-translate/[email protected].
There is example here.
Thanks!!!!
to use 9.1.1 version worked for me,thank u!!!
Resolved .....
Issue Because of Old and new version i stuck same for FCM and geo Location ...... after 2 day struggle change the version from 5.0.0 to 4.18.0 and tham run npm i in CMD

Most helpful comment
For those who need the old version you need
npm i @ngx-translate/[email protected].There is example here.