Internationalisation

Build themes for a global audience with multi-currency support and localised formatting.

Easol helps Creators sell experiences to customers around the world.

The platform includes built-in support for:

Localised dates

Dates can be displayed throughout Easol sites formatted according to the customer's browser language and locale. You can determine the users locale via page.locale and use this to format dates in liquid accordingly.

Dates in checkout are formatted automatically based on the customers locale.

For example:

Browser localeFormatted date
en-GB1 January 2023
en-USJanuary 1, 2023

Developer considerations

When building themes:

  • Use Easol's money filters to display prices in the customer's selected currency.
  • Avoid hard-coding date or currency formats.
  • Use liquid filters to display dates according to the customer's locale.
  • Allow the platform to localise dates and checkout content automatically.
  • Test themes using different browser locales to ensure dates and other regional formatting display correctly.

On this page