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

Issue In the Locale #307

Closed
KelisSuthar opened this issue Aug 10, 2023 · 6 comments
Closed

Issue In the Locale #307

KelisSuthar opened this issue Aug 10, 2023 · 6 comments
Labels
needs repro Needs reproducible example question Further information is requested

Comments

@KelisSuthar
Copy link

KelisSuthar commented Aug 10, 2023

Hello When I install the library in react native and run the project on Android or ios it shows me an issue like this
[react-native-paper-dates] The locale en is not registered, see README!, key: typeInDate
in several keys also on the Android side close and edit icons are not proper these are default icons.
Screenshot_1691682598
My library Version is
"react-native-paper-dates": "^0.18.13",
"react": "18.2.0",

@KelisSuthar KelisSuthar added the question Further information is requested label Aug 10, 2023
@KelisSuthar KelisSuthar changed the title Issue Int he Locale Issue In the Locale Aug 10, 2023
@iM-GeeKy iM-GeeKy added the needs repro Needs reproducible example label Aug 10, 2023
@github-actions
Copy link
Contributor

Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.

@Eprince-hub
Copy link

This reported error doesn't happen in https://snack.expo.dev/ and might also not happen in expo projects. I have the same error, and I am using a bare-bone react native for my project, I strongly believe it is the same with the poster

Screenshot 2023-08-11 at 16 56 33

@KelisSuthar
Copy link
Author

Ok I will try to use it
Thank for your support @Eprince-hub

@Eprince-hub
Copy link

Hey, i am providing a reproduction to the error here in the repo
https://github.com/Eprince-hub/react-native-date-picker-error

Steps to reproduce

Clone the repo & cd into project

git clone https://github.com/Eprince-hub/react-native-date-picker-error.git && cd react-native-date-picker-error

Install all Dependencies

yarn init-deps

Start & run both ios & android

yarn start-all

Click on pick single date and see the error
There is a total of ten errors, clicking on dismiss will reveal next error

@Eprince-hub
Copy link

@KelisSuthar Have you found a solution to the error?, if not maybe you can open the issue again?, my comment above wasn't a solution, i was explaining the project where the error is happening

@RichardLindhout
Copy link
Member

Please see the example index.js we register translations https://web-ridge.github.io/react-native-paper-dates/docs/intro#register-translation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Needs reproducible example question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants