V
V
Vladimir Maltsev2019-10-06 20:49:46
iOS
Vladimir Maltsev, 2019-10-06 20:49:46

How to localize webview iOS Cordova?

For some reason, the webview interface on iOS has English localization, although the device is configured for Russian localization. (Safari in Russian, webview in English)
This can be seen in the context of "copy, paste", "pop-ups" when submitting forms with empty fields with required, dialogs "Take a photo, select from the gallery"
Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Maltsev, 2019-10-08
@mrhard

I found it myself!
in config.xlm we write

<platform name="ios">
  <edit-config target="CFBundleLocalizations" file="*-Info.plist" mode="overwrite">
    <array>
      <string>ru</string>
    </array>
  </edit-config>
</platform>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question