ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.12k stars 1.56k forks source link

Localization does not follow system language #1949

Open caixingyue opened 1 year ago

caixingyue commented 1 year ago

Version

Tell us which versions you are using:

Platform

Expected behaviour

language localization

Actual behaviour

Without localization, English is still displayed, but if I change the default language to the local language, then the local language can be displayed. I think it should be normal to display different languages following the system, and if the language is not in the list, display the default language

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

clementnv commented 1 year ago

I have the same problem. Test on iOS 16.6

charlyBerthet commented 1 year ago

Same probleme here

longnp-sanan commented 2 months ago

I have the same problem.

nullatnothing commented 2 months ago

Hi All,

I fixed this issue by adding following code to the info.plist file of my IOS project:

<key>CFBundleLocalizations</key>
<array>
  <string>de</string>
  <string>en</string>
  <string>es</string>
  <string>fr</string>
  <string>it</string>
</array>
<key>CFBundleAllowMixedLocalizations</key>
<true/>

(add to the <array> other languages, that you need...)