Troubleshooting
This article provides solutions for issues you might encounter while working with the KendoReact Internationalization.
Error Messages
When you use the services for parsing and formatting dates and numbers, an error might occur. The error messages are self-explanatory and display a unique name and a corresponding message.
Error Code | Reason | Solution |
---|---|---|
"NoLocale" | The data for the locale is missing. | Load the data for the locale. |
"NoCurrencyDisplay" | The default locale does not include the data for all currencies. | Load the currencies data for the "en" locale . |
"NoCurrencyRegion" | The region currencies data is missing. | Load the cldr-core/supplemental/currencyData data . |
"NoCurrency" | The currencies data for the locale is missing. | Load the cldr-numbers-full/main/LOCALE/currencies data for the locale . |
"NoGMTInfo" | The data for the GMT format of the locale is missing. | Load the cldr-dates-full/main/LOCALE/timeZoneNames data for the locale . |
"NoWeekData" | The data for the first day of the week in the locale is missing. | Load the cldr-core/supplemental/weekData data . |
"NoFirstDay" | The default locale includes only the 'en-US' first day info. | Load the cldr-core/supplemental/weekData data . |
"NoDateFieldNames" | The information about the date field names of the locale is missing. | Load the cldr-dates-full/main/LOCALE/dateFields data for the locale . |
"NoValidCurrency" | Cannot determine a default currency for the locale. | Explicitly specify the currency with the format options. For example, formatNumber(value, { style: "currency", currency: "EUR" }) . |