How to Add Language file
Common Issues
To add new language for your site please follow the following steps-
-
Firstly, You need to add a language from admin panel.
-
Click on Add Language Button then the next form will come for adding language.
-
Remember the Short name of the language.
-
Navigate to the
your project folder > resources > lang
and make a copy of an existing file (such asen.json
). -
Rename the copied file with the short name of your language.
-
Edit the
your_language_name.json
file with your desired language. -
In the JSON file, the left side contains English language phrases, and the right side will be filled with your translated language.
-
Save your
your_language_name.json
file. Repeat this process for all desired languages.