Skip to content

Configure HyperFormula to match the languages and regions of your users.

Each of HyperFormula’s built-in functions and errors is available in 18 languages.

You can easily switch between languages (language).

When adding a custom function, you can define the function’s name in every language that you support.

To support more languages, add a custom language pack.

To match a region’s calendar conventions, you can set multiple date formats (dateFormats) and time formats (timeFormats).

By default, HyperFormula uses the European date and time formats. You can easily change them.

You can also add custom ways of handling dates and times.

To match a region’s number format, configure HyperFormula’s decimal separator (decimalSeparator) and thousands separator (thousandSeparator).

By default, HyperFormula uses the European number format (1000000.00):

decimalSeparator: '.', // set by default
thousandSeparator: '', // set by default

To use the US number format (1,000,000.00), set:

decimalSeparator: '.', // set by default
thousandSeparator: ',',

To match your users’ currency, configure recognized currency symbols and (optionally) custom TEXT output formatting. Both sides are covered in the dedicated Currency handling guide.

To make sure that language-sensitive strings are compared in line with your users’ language (e.g., Préservation vs. Preservation), set HyperFormula’s string comparison rules (localeLang).

The value of localeLang is processed by Intl.Collator, a JavaScript standard object.

The default setting is:

localeLang: 'en', // set by default

To set the en-US string comparison rules, set:

localeLang: 'en-US',

To further customize string comparison rules, use these options:

Compatibility with other spreadsheet software

Section titled “Compatibility with other spreadsheet software”

For information on compatibility with locale-dependent syntax in other spreadsheet software, see:

This configuration aligns HyperFormula with the en-US locale. Due to the configuration of separators, it might not be fully compatible with formulas coming from other spreadsheet software.

language: 'enUS',
dateFormats: ['MM/DD/YYYY', 'MM/DD/YY', 'YYYY/MM/DD'],
timeFormats: ['hh:mm', 'hh:mm:ss.sss'], // set by default
decimalSeparator: '.', // set by default
thousandSeparator: ',',
functionArgSeparator: ';', // might cause incompatibility with other spreadsheets
currencySymbol: ['$', 'USD'],
localeLang: 'en-US',

This demo shows HyperFormula configured for the en-US locale.

Name Lunch time Date of Birth Age Salary