I have a localized app. I use WKWebView and also make some network requests. All the app localization works as expected. But errors from webView:didFailProvisionalNavigation:withError are always in English. I haven't found any information about any bugs on WebKit or Error side, but localizedDescription is always in English. Why?
Steps to reproduce:
- Just create WKWebView and assign its delegate to self;
- handle
webView:didFailProvisionalNavigation:withError; - Enable airplane mode, switch off wifi and try to load any page;
- You'll get connection error with wrong localization.