28 Jun 20171 minute to read
Globalization is language support based on the culture in NumericTextBox . You can achieve the Globalization using “locale” property in NumericTextBox .
The widget provides multi-language support using globalization. You can customize the NumericTextBox with your own language style by using this feature. You can change the globalization by using the locale property. The default value for locale property is en-US in NumericTextBox control.
More than 350 culture specific files are available to localize the value. To know more about EJ globalize support, please refer the below link
Seven culture-specific script files are available in the below specified location. For all other culture files, please download from the GitHub location.
Refer the below German culture file in head section of HTML page after the reference of ej.web.all.min.js file.
You can dynamically change the language based on their culture.
The following example describes the way to use Globalization for NumericTextBox widget.
<input id="numeric" type="text" ej-numerictextbox e-value="12345" e-decimalplaces="2" e-locale="de-DE" />
The output for NumericTextBox with Globalization.