ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

WKWebView input[type="date"] localization #395

Closed clemfernandez closed 5 years ago

clemfernandez commented 5 years ago

I am working on a multilanguage ionic v1 app but all the input[type="date"] are in English, completely ignoring the iPhone regional/language settings.

I expect the date selector to be in the same language as the iPhone.

Steps to reproduce:

  1. Create an ionic v1 app with a sample input[type="date"] in it
  2. Set your iPhone language and locale to French
  3. The date selector is still in English

Do you have any idea how to translate this input? I suspect this must be somewhere in WKWebView configuration but I don't know where to look for.

Please don't suggest using a jquery date picker plugin or something in the likes, what I want used to work properly on UIWebView.

Version used:

I also opened an issue on the webview repository here