-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for L10n #117
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to change de default locale to spanish in a DatePicker and I found no way to do this using alert.addDatePicker. I thought changing the device language it will work, but at least in simulator it didn't work. I didn't install the library with Cocoapods, so I added a modification to DatePickerViewController init
`required public init(mode: UIDatePicker.Mode, date: Date? = nil, minimumDate: Date? = nil, maximumDate: Date? = nil, action: Action?) {
super.init(nibName: nil, bundle: nil)
datePicker.datePickerMode = mode
It would be nice if there were an option to set the locale of the picker
The text was updated successfully, but these errors were encountered: