i18n

Internationalization, number and date formatting methods.

Methods
dateFormatDate converts a string in the default date format to a Date object
dateFormatStr converts a Date object to a string in the default date format
fullDateFormatDate converts a string in the default date-time format to a Date object
fullDateFormatStr converts a Date object to a string in the full-date format
intFormat converts a number into integer and formats according to the locale defaults.
longDateFormatDate converts a string in the long date format to a Date object
longDateFormatStr converts a Date object to a string in the long-date format
numberFormat formats a number according to the locale defaults
parseFormatDate converts a string in the parsing date format to a Date object
parseFormatStr converts a Date object to a string in the parsing format
parseTimeFormatDate converts a date object to a string in the parsing format with respect to time
parseTimeFormatStr converts a Date object to a string in the parsing format with respect to time value
priceFormat formats a number as a price string
setLocale sets the locale in use
timeFormatDate converts a string in the time format to a Date object
timeFormatStr converts a Date object to a string in the time format
Other
PDFviewer sets text labels for page switching and document zooming options in PDF viewer
am sets the default label for time before noon
aria sets aria labels for clickable areas of widgets
calendar the default locale months and days names
controls sets text labels for some elements of Webix components
dataExport sets text labels for the parts of the page numbering line in the exported PDF document
dateFormat sets the default locale date format
dbllist the default labels of the DoubleList widget
decimalDelimiter a char which separates the decimal part in the float number. The default value is ”.”
decimalSize the number of decimal digits in the float number
fileSize sets abbreviations for file sizes from byte to exabyte
filemanager default File Manager titles
fullDateFormat sets the default locale date-time format
groupDelimiter a char which separates groups of digits. The default value is ”,”;
groupSize the number of digits in a group. The default value is 3
locales creates a new locale
longDateFormat sets the default locale the long-date format
parseFormat sets the default locale parsing date format. Initially it is "**%Y-%m-%d "%H:%i**".
parseTimeFormat sets the default locale parsing time format. Initially it is **%H:%i**.
pivot default Pivot titles
pm sets the default label for time after noon
price sets the default locale price format
priceSettings sets the format of the price number
richtext default locales for labels of the font style buttons in the RichText control
spreadsheet default locales for Spreadsheet labels and tooltips
timeFormat sets the default locale time format
Back to top