Configure this date picker language at application level

#1

Hey.

Is there any way to customize the language of native DatePicker directly from the app.
My app supports two languages and I would like to change the month names to german or english respectively.
It is changed when the language of phone is changed only…

chooseDate(mode: string, keyname: string, oldDate: boolean) {
this.datePicker.show({
date: new Date(),
mode: mode,
allowOldDates: oldDate,
minDate: this.getNowAndAdd(2),
okText: this.commonServices.okText,
cancelText: this.commonServices.cancelText,
androidTheme: 0
})
.then(date => {
this.filterDate(date);
this.wasteServiceForm.patchValue({ [keyname]: this.date })
},
err => console.log("Error occurred while getting date: ", err)
);
}

Thanks beforehand.