title: Need to translate words in .ts file of angular-7 application for localization of app
body: <p>I have to localize the angular-7 application. For that we already created the localizationModule which impports all required dependencies from <code>'@ngx-translate/core';</code>. Also I have imported the <code>userService</code> in which selected language will be set for application translation.
  I have translated all the <code>html</code> pages but the messages which are written in <code>.ts</code> file needs to be converted.
  I am not getting any way to achieve this.
  Can anyone help me to get out of this?</p>