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

HowTo Translate the datepicker ? #937

Open
mikkdev opened this issue Jun 21, 2023 · 1 comment
Open

HowTo Translate the datepicker ? #937

mikkdev opened this issue Jun 21, 2023 · 1 comment
Labels
question Further information is requested

Comments

@mikkdev
Copy link

mikkdev commented Jun 21, 2023

Dear MatBlazor Team,

I have been utilizing the MatDatePicker component in my project and I find it to be a valuable tool. However, I'm wondering if it's currently possible to translate the datepicker to support different languages. Is there any built-in functionality or workaround available to achieve this? I appreciate your insights and assistance.

grafik

The Locale property does not work for me:
grafik

Thank you!

@mikkdev mikkdev added the question Further information is requested label Jun 21, 2023
@kiyas
Copy link

kiyas commented Oct 2, 2023

Add <script src="https://npmcdn.com/flatpickr/dist/l10n/de.js"></script> to _Host.cshtml, then Locale="de" should work.

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

No branches or pull requests

2 participants