Language / Translation

The system comes pre-translated with few languages:

  1. English

  2. French

  3. Spanish

  4. Arabic

  5. Portuguese

  6. German

There are cases where the some words might not be fully translated to the native language as Google translate was used.

WHERE TO FIND THE LANG FOLDER

  • Now go to the lang folder. This folder can be found in the resources folder of the backend.

UPDATE THE CUSTOM LANGUAGE

If you want to update the words on the sentences that were transalate to the sentence of your liking. Follow the steps below.

For this example, we would be assuming you want to correct some sentences in french.

  • Follow the instructions above to locate the lang folder

  • Inside the lang folder, you will see files with .json extension.

  • In our case we want to update some words/sentence in french, so open the file matching with your language. E.g en.json is for english, fr.json is for french, ar.json is for arabic etc.

  • After opening the file, you will have just change the words or sentence of your choice. Then save the file

ADD NEW LANGUAGE

Here is how to add a new language to the backend yourself.

  1. Follow the instructions above to locate the lang folder

  • Inside the lang folder, you will see files with .json extension.

  • Create a new file that ends in.json, make sure the file matches with your language 2-letter code. E.g en.json is for english, fr.json is for french, ar.json is for arabic etc.

  • After opening the file, you can open the whole content of the en.json file into the newly create file.

  • Then start translating each value in the new .json file to that of your choice.

  • Then save

Now you have to let the backend know a new language has been added.

  • Go to backend.php file. Here is the file path config/backend.php

  • Open the file the file. You will find sub-arrays languages & languageCodes

  • Add you language name to the bottom of the languages array

 "languages" => [
        "English",
        "French",
        "Spanish",
        "Korean",
        "German",
        "Portuguese",
        "Arabic",
        "Hindi",
        "Turkish",
        "Russian",
        "Burmese",
        "Chinese",
        "Japanese",
        "YOUR LANGUAGE NAME"
 ],
  • Add you language code to the bottom of the languageCodes array

 "languageCodes" => [
        "en",
        "fr",
        "es",
        "ko",
        "de",
        "pt",
        "ar",
        "hi",
        "tr",
        "rus",
        "my",
        "zh",
        "ja",
        "YOUR LANGUAGE CODE"
    ],
  • Then save

After following the steps above, you should now have your new language available for selection in the language settings section in the backend

Last updated