If you are setting up an online store or a website that needs to display dates, currencies, and formats for different countries, you have probably come across the Intl extension.
At Bacan.com, this tool is available on all our servers. It is essentially a «smart translator» that allows your website to speak the local language of each visitor, adapting important details such as currency symbols or the order of days in a calendar.
What does the Intl extension actually do?
The internationalisation extension (Intl) is a module that allows your PHP scripts to perform complex regional formatting tasks automatically. Instead of you having to program how a date looks in the UK versus the US, Intl handles it for you following global standards (ICU).
Here is a summary of its most useful functions:
-
Number and currency formatting: Displays prices correctly depending on the country (for example, using dots or commas for decimals:
1.000,00 €vs1,000.00 $). -
Text comparison (Collator): Sorts lists alphabetically while respecting the special characters of each language (such as «ñ» in Spanish).
-
Dates and times: Automatically adapts the time and date format based on the user's location.
-
Text normalisation: Ensures that all characters on your site are displayed correctly under the Unicode standard, avoiding strange visual errors.
How to enable Intl on your Bacan account
If your website indicates that this module is missing, enabling it in our DirectAdmin panel is very easy:
-
Log in to DirectAdmin: Access with your user credentials.
-
Go to the PHP Selector: In the main menu, find the «Select PHP Version» option.
-
Find the extension: Under the «Extensions» tab, look for the checkbox labelled «intl» (listed in alphabetical order).
-
Enable it: Check the box. The system will save the change automatically and you will see a confirmation message.
Expert tip
If you are installing PrestaShop, the Intl extension is a mandatory requirement. Without it, the installation will stop. If you have already enabled it and the installer does not detect it, make sure you are editing the PHP version currently being used by your main domain.
Key reminders
-
Function: Adapts currencies, dates, and formats to the user's language and region.
-
Availability: Available on all Bacan.com plans.
-
Activation: Enabled with a single click from the PHP selector in DirectAdmin.
-
Common use: Essential for online stores and multilingual websites.
For more advanced technical details, you can always consult the official PHP documentation.