is there a way to globally configure ionic components buttons text?
I need to translate for example Input Properties like: - cancelText, okText from Select component - cancelText, doneText from DateTime component
Is there a similar way to set those strings in Config? Like backButtonText:
this.config.set('backButtonText', this.translate.instant("BACK"))
I would like to do something like:
this.config.set('cancelText', this.translate.instant("CANCEL"));
this.config.set('doneText', this.translate.instant("DONE"));
this.config.set('okText', this.translate.instant("OK"));
Instead of doing this for each component template:
<ion-select [cancelText]="translate.instant('CANCEL')" [okText]="translate.instant('OK')"></ion-select>
<ion-datetime [cancelText]="translate.instant('CANCEL')" [doneText]="translate.instant('DONE')"></ion-datetime>
Thanks in advance