Language / Translation
Last updated
Last updated
The system comes pre-translated with few languages:
English
French
Spanish
Arabic
Portuguese
German
There are cases where the some words might not be fully translated to the native language as Google translate was used.
Now go to the lang folder. This folder can be found in the resources folder of the backend.
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
Here is how to add a new language to the backend yourself.
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
Add you language code to the bottom of the languageCodes
array
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