DatePicker has been provided with Built-in localization support, so that it will be able adapt based on culture specific locale defined for it.
ej.globalize library is used to globalize DatePicker calendar. Globalize values will be automatically used when locale property is set with locale string value for example fr-FR.
More than 350 culture specific files are available to localize the date. To know more about EJ globalize support, please refer the below link
To translate our control content from default English to any of the culture, say For example - German language, then you need to refer the ej.culture.de-DE.min.js file in your application,
The en-US locale is currently being used as default culture in DatePicker. You can set any other culture to DatePicker by using Locale property. Below code example shows German cultured DatePicker.
Refer the below German culture file in head section of HTML page after the reference of ej.web.all.min.js file.
To get the customized text for preferred culture refer below script after above file
Please check with the below code example to achieve the localization after referring these files.
<input id="datepic_2" ej-datepicker e-locale="'de-DE'" />