-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add fr-FR locale #1751
Comments
Hello, thank you for your French translation. You can check pr in #1753. |
If you want to change the default time format of Date picker component, you can refer to the screenshot above. I hope your problem can be solved. If it is not solved, you can also join Discord for discussion. |
Hi @amadeus711, Thanks A LOT for your so quick reply and the various fix/addition you have made in #1753 and #1756 👏 I haven't seen the answer for this question:
About
thanks for screenshot and explanation ❤️ I was aware about the For example, If a user want to switch from en-US to fr-FR, he was expecting to see the date picker format switch from And so, my suggestion is to use Benefits of this solution:
What do you think about that? NB: don't forget to handle |
Seems dateTimeFormat and dateFormat is only used in After it's fixed, you can use |
@amadeus711 @07akioni , Keep up the good work 👍 |
This function solves the problem (这个功能解决的问题)
Missing fr-FR locale ;)
Expected API (期望的 API)
Sorry I don't know how to contribute to add a locale because there is nothing about that in the documentation. So this is the fr-FR locale:
In addition, I have notice a typo in the en-US locale in Cascader > loadingRequiredMessage: "descedants" => "descendants" (missing "n").
Also, could you please explain where is used Time > dateFormat and Time > dateTimeFormat? I was expecting to see it used as default format for Date picker component?
Last but not least, in the documentation (https://www.naiveui.com/en-US/os-theme/docs/i18n), the last section title is "Customize the existing theme" but I guess it should be "Customize the existing locale"?
Thanks for the hard work you made on NaiveUI <3
The text was updated successfully, but these errors were encountered: