Skip to content

Translate / Add New Language

This section explains how to:

  • Create a new language
  • Translate static texts
  • Change the default application language

Creating a New Language

Follow the steps below:

  1. Log in to your Admin Panel
  2. Go to:
Settings → Languages
  1. Click the Add Language button
  2. Fill in all required information
  3. Set the status to Public
  4. Click Save

Now your new language is created.

Translating Static Texts

After creating the language from the admin panel, you must translate the static files.

Follow these steps:

  1. Go to the root directory of your project
  2. Navigate to:
resources → lang
  1. Copy the Sample folder

  2. Rename the copied folder to the short code of your newly added language Example:

    • English → en
    • French → fr
    • Arabic → ar
  3. Open and translate the following files inside your new language folder:

  • admin.json
  • frontend.json
  • lang.php

Change Default Language (Optional)

If your default language is not English:

  1. Open the .env file from the root directory
  2. Change the value of:
APP_LOCALE=your_language_code

Example:

APP_LOCALE=fr

Save the file.

Important Notice

Important If you want to modify the text of an existing language (English, Turkish, French, Arabic, Hindi), you must:

  1. Delete the language first from Settings → Languages
  2. Re-add the language
  3. Follow the translation process again