-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Fix DatePicker #679
Fix DatePicker #679
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Also, since you are specifying 'ja' as the pdfme/playground/src/FormAndViewer.tsx Line 61 in 2ff80d1
the users will always see the buttons' labels in Japanese in Form mode, regardless of the I understand that the playground is just an example of how to use this library. However, this inconsistency is very confusing for new users. |
@kyasu1 Thank you for checking again. Yes, maybe this playground form move should be able to change lang option. I guess this makes misleeding. |
at least we need to sepalete issue playdground and date kind schema. I will update playground form mode lang option selectable. |
Update Playground: https://playground.pdfme.com/form-viewer |
Hmm, I see. Shall we create a translation adapted for the calendar? |
The following lines are what I suggested first time: pdfme/packages/schemas/src/date/helper.ts Lines 76 to 96 in 37a6e1f
I think hard coding the translations of buttons here is valid, since they are usable in this schema only which depends on the external module. In this way, change of |
time
ordateTime
modei18n.ts
(not calender)