title: Configure this date picker months language at application level Ionic
body: <p>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 <strong>German</strong> or <strong>English</strong> respectively.
  It is changed when the language of the phone is changed only…</p>
  
  <pre><code>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 =&gt; {
          this.filterDate(date);
          this.wasteServiceForm.patchValue({ [keyname]: this.date })
        },
        err =&gt; console.log("Error occurred while getting date: ", err)
      );
  }
  </code></pre>
  
  <p>Thanks beforehand.</p>