ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Globalization/ Translation for Datepicker
Title:
B
I
{code}
?
Is there a way to make datepicker use german names for "month" dropdownlist depending on ui culture? Does not seem to work even in Dinner demo online.
Save Changes
Cancel
Stephan
asked at 30 Mar 2018
I've updated my answer
at 03 Apr 2018
Omu
Answers
B
I
{code}
?
you can see in awem.js clientDict `Months` property you can set `awem.clientDict` to replace the values, given the `prodinner demo` the method `ClientSideUtils.GetClientDict()` return type needs an additional property `string[] Months` and add this line to `ClientSideUtils.GetClientDict` return new ClientDict { ... Months = DateTimeFormatInfo.CurrentInfo.MonthNames, Days = DateTimeFormatInfo.CurrentInfo.ShortestDayNames };
Save Changes
Cancel
Omu
answered at 30 Mar 2018
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK