Skip to content
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

[iOS] Wrong weekdays translation #281

Closed
egor-sorokin opened this issue Sep 18, 2020 · 6 comments
Closed

[iOS] Wrong weekdays translation #281

egor-sorokin opened this issue Sep 18, 2020 · 6 comments

Comments

@egor-sorokin
Copy link

Bug report

Summary

Language on a device is "Dutch" and region is "Netherlands". The app is fully translated in Dutch based on language settings of the device. However the weekdays stay in English.

Environment info

"react-native": "^0.61.5"
"@react-native-community/datetimepicker": "^3.0.2"

Library version: 3.0.2
iOS version: 14.0

Steps to reproduce

  1. Install the datetimepicker library in react-native app
  2. Init datetimepicker in the app
<DateTimePicker
        mode="date"
        locale={'nl-NL'}
        value={new Date()}
      />
  1. Use device or set an emulator iPhone 11, iOS 14.0
  2. Set device language to Dutch (optional set region Netherlands)
  3. Run the app
  4. Click on datetimepicker
  5. Check (short/long) names of weekdays

Describe what you expected to happen:
(short/long) names of weekdays are translated based on the device language

@daniel
Copy link

daniel commented Jun 15, 2021

Same problem with other locales, the week days are not translated. The "Time" label is also not translated.

@ahzahri
Copy link

ahzahri commented Oct 14, 2021

Hello, any info on this issue please ? Did anybody find or implement a work around please ?
thx

@christophemenager
Copy link

I have the same issue, did not find a workaround yet

@SirAddam
Copy link

Same problem here

@ahzahri
Copy link

ahzahri commented Dec 1, 2021

For info, i could fix the issue using this PR : #522
Suboptimal and temporary solution but my customer was glad that we didn't rollback into the spinners...

@vonovak vonovak mentioned this issue Dec 11, 2021
5 tasks
@vonovak
Copy link
Member

vonovak commented Dec 11, 2021

closed by #540 (v5 release)

@vonovak vonovak closed this as completed Dec 11, 2021
@react-native-datetimepicker react-native-datetimepicker locked and limited conversation to collaborators Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants