I\'m creating a UIDatePicker programmatically, and setting its locale with the following code:
datePicker.locale = [[[NSLocale alloc] initWithLocaleIdentifier:@\
As answered here Can I localize a UIDatePicker?, the picker display depends on country settings, not on language settings.
In your example you are changing the language locale only.