βLocalization and Time Format
Localization
By default, it's set in English, but you can switch it to one of the available languages.
Adding a new language manually
As certain languages may not be readily available, you have the option to manually add a new language. Here are the steps to achieve this:
Navigate to the source code and locate the
resources > lang > en.json
file.Copy the file and paste it in the same location.
Rename the copied file with your new language code and save it.
Open the file and translate the English words or sentences into your new language.
Once you've completed the translation, update your new language code in the
APP_LOCALE
environment variable.
Time Format
Starting from version 1.2, there's an option to customize the time format within the script for working hours. You have two choices:
There are two options:
24 hours time format
24hours
AM PM format
AM/PM
The default time format is 24-hour.
Time Zone
Create an environment variable in the .env file to specify the correct timezone for your site's operations.
Completing this step is crucial to ensure that the restaurant's opening and closing times function correctly.
List of available timezones.
Last updated