> For the complete documentation index, see [llms.txt](https://foodmonkey-docs.natadtech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://foodmonkey-docs.natadtech.com/define-basics/localization-and-time-format.md).

# Localization and Time Format

## Localization

By default, it's set in English, but you can switch it to one of the available languages.

```
APP_LOCALE=en
```

## 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:

1. Navigate to the source code and locate the **`resources > lang > en.json`** file.
2. Copy the file and paste it in the same location.
3. Rename the copied file with your new language code and save it.
4. Open the file and translate the English words or sentences into your new language.
5. 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_FORMAT="24hours"
```

## 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.

```
TIME_ZONE=UTC
```

List of available [timezones](https://www.php.net/manual/en/timezones.php).
