Ngx-translate TranslateService.get doesn't work in Lazyloaded pages


This is weird, I recently used ngx-translate and everything is working fine on the pages using the pipe, but the translateService doesn’t work. Anyone got any leads if this is working for them?


//Pipe works as expected
<p>{{ 'LOGOUT' | translate }}</p>

//Translate service doesn't!
this.translateService.get('LOGOUT').subscribe((res: string) => {
    console.log(res); //prints LOGOUT and not Logout.

  "LOGOUT": "Logout"