skip to Main Content

I’m using React Native app with ReactNativeWebView.

By clicking on:

<input
              ref={hiddenFileInput}
              hidden
              accept='.pdf, .png, .jpg, .jpeg'
              type='file'
              onChange={onChangeFileInput}
            />

I’m launching actions menu on Iphone (iOS).

How it looks:

enter image description here

Is it possible to change language of this menu?

Tried to google this issue but couldn’t find answer

2

Answers


  1. If the device (or the app) is set to a nonEnglish language, that menu will appear in that language. Otherwise, no. In other words, that menu is responding to the user’s preferences, not to (say) the content of the web page.

    Login or Signup to reply.
  2. According to this github issue you may be able to get this to work by using this setting in Info.plist:

    <key>CFBundleLocalizations</key>
        <array>
            <string>en</string>
            <string>de</string>
            <string>es</string>
        </array>
    

    See also this note in the comment below:

    EDIT: it depends on installed languages at iPhone and order of this languages in iphone settings – when i have de first in settings, I have system dialogs in de…

    It it not confirmed below, that this works, but it might be worth a shot.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search