How to translate alertController and mat-snackbar message by using ngx-translate?

I’m creating ionic 4 angular app, and using ngx-translate to translate 1 or more languages.by using ngx-translate it is easy to translate in html.but how to translate text message in alertController and mat-snackbar messages.

 //using below ngx-translate
 import { TranslateService } from '@ngx-translate/core';

 constructor(public translate:TranslateService){}

 //Alert Controller
 async alert_Massage() {
 let alertMassage = await this.alertController.create({
  message: "How are you ?",//how to translate this message.
  buttons: ['Ok'],
});
await alertMassage.present();
}

//mat-snackbar //how to translate this some error message 
this.snackBar.open('Some Error messages', 'Ok', {
        verticalPosition: 'top',
        duration: 2000,
        panelClass: ['red-snackbar']
});

Source: New feed
Source Url How to translate alertController and mat-snackbar message by using ngx-translate?