14 Aug 20181 minute to read
Globalization is language support based on the culture in CurrencyTextBox. You can achieve the Globalization using “locale” property in CurrencyTextBox.
The CurrencyTextBox widget provides multi-language support using globalization. You can customize the CurrencyTextBox 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 CurrencyTextBox controls. Also you can specify the currencySymbol property when the user wants to overwrite the currency symbol commonly instead of the current culture symbol.
More than 350 culture specific files are available to localize the value. To know more about EJ globalize support, please refer the below link
All the culture-specific script files are available within the below specified location, once you have installed Essential Studio in your machine, therefore it is not necessary to download these files explicitly.
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.
Add the following code to your ASPX page to render the CurrencyTextbox control.
<ej:CurrencyTextBox ID="currency" Value="33" DecimalPlaces="2" Locale="es-ES" runat="server"> </ej:CurrencyTextBox>
The screenshots of the CurrencyTextbox with es-ES locale and en-US locale.