Android WebView translation missing in date and time picker for HTML input type date and time

89 views Asked by At

When I use HTML input type time or date in an Android WebView, then the translation for set and clear is missing in the date and time picker.

In this example I'm using Dutch as language. Sample website used in WebView and Chrome browser app: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time

In Android WebView the translation for set and clear is missing.

webView.settings.javaScriptEnabled = true
webView.loadUrl("https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time")

enter image description here

In the Chrome browser app the Dutch translation is correct. enter image description here

Is there a way to overwrite these translations or how can I fix this?

0

There are 0 answers