react-native-localization-settings
react-native-localization-settings copied to clipboard
[iOS] Fix cannot detect language script and variant + use regionCode
- Fixed an issue causing language script and variant is ignored if not using
regionCode(countryCode) when setting language. For example:zh-Hansbecamezh-USinstead ofzh-Hans-US. - NSLocale
countryCodeis deprecated so I migrate using NSLocaleregionCodeinstead