FoodMonkey
NatadTech
  • πŸ‘‹Introduction
  • Installation
    • βš™οΈInstallation - Shared Hosting
    • πŸ”ƒUpdating - Shared Hosting
    • πŸ’»Installation - Local Machine
  • DEFINE BASICS
    • πŸ“‚Database
    • πŸ“©Mail Server
    • βŒ›Localization and Time Format
    • πŸ’²Payments
    • πŸ’±Pricing Plans
    • πŸ’°Stripe Gateway
    • πŸ’ΈPaystack Gateway
    • πŸ—ΊοΈGoogle API
    • πŸ“ˆGoogle Analytics
    • πŸ–₯️Google Authentication
    • πŸ‘€Facebook Authentication
    • πŸ›œOne Signal Push Notifications
    • πŸ“¨Twilio SMS Notifications
  • Usage
    • πŸ“ŒGetting Started
    • πŸ‘₯Register as an Admin
    • 🌏Multilingual Menu
    • ✏️Site Set-up
    • πŸͺRestaurant Subdomain
    • 🍴Single Restaurant
    • πŸ—£οΈTranslations
    • πŸ–ŒοΈCustom CSS
    • ⬆️Import from CSV
    • πŸ“Custom Fields on Order
  • Modules
    • πŸ’‘Project Modules
    • 🧩Module Installation
    • ➑️ShareThis
    • πŸͺCookie Consent
    • πŸ–¨οΈThermal Printer Module
    • πŸͺWebHooks
  • API
    • 🀝Client API
    • πŸ›΅Driver API
  • Information
    • ❓Frequently Asked Questions
    • πŸ“œChangelog
    • πŸ–₯️Developer Information
Powered by GitBook
On this page
  • Localization
  • Adding a new language manually
  • Time Format
  • Time Zone

Was this helpful?

  1. DEFINE BASICS

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
PreviousMail ServerNextPayments

Last updated 1 year ago

Was this helpful?

List of available .

βŒ›
timezones