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

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVNlKuUeCM_uD7sLQnM%2F-MlPbuNOQJCwfQIvdtzU%2F-MlPefOE6ZY3WToG1qvS%2Fimage.png?alt=media\&token=6193ed14-a72a-4235-9049-dfdf4051b5d5)

## UPDATE THE CUSTOM LANGUAGE&#x20;

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 i&#x6E;**.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

```php
 "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

```php
 "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&#x20;
