Open AmusedMe opened 7 years ago
I just use the react native Component, I think the component's language is same as your mobile system.
Yes it's strange, when the modal is open, the language is support but when the value is printed in the component, it's in English!
https://github.com/facebook/react-native/pull/15635/files
You can examine this pull request.
@ozsirma, is it merge to main? I see that it only targeted to iOS, why not to Android as well?
It is usable with v0.52.0 that merged the pull request. @assafb81
how RN v0.52.0 is relevant? I thought it is react-native-datepicker issue
@ozsirma
react native datePicker component for both Android and IOS, using DatePickerAndroid, TimePickerAndroid and DatePickerIOS
DatePickerIOS is native component for iOS. Therefore if you use this feature, you should use v52.0 or you should change files manually in your node_modules. @assafb81
@ozsirma thanks
My fork include this feature: https://github.com/pablo-albaladejo/react-native-datepicker
<DatePicker locale={'es'} date={this.state.date} mode='date' format="DD-MM-YYYY">
Nice, @pablo-albaladejo :)
However, I need support for Android too. This should be supported by RN. Upvote this feature request to help push this feature through :D
Thanks @jenskuhrjorgensen,
There is no issue at the Android Datepicker locale; it just read the system locale. Screenshots of the component:
Yes @pablo-albaladejo, but I would like to set it manually - is that possible?
I'm also wondering how to manually set locale
Thanks @jenskuhrjorgensen,
There is no issue at the Android Datepicker locale; it just read the system locale. Screenshots of the component:
Hello sir , Iam trying to change the language of date picker based on user selection , could you suggest some examples. Thanks a lot!
Can I set a customize date picker locale to follow my app language not system language on Android is there any available solution or work around?
Has anyone got this solution for ANDROID Language change Manually
even community Library has same issue for android
Thank you for your time. I look through all the issues, just one about language. I still not find how to specific one language.