Translate/Add New Language
Creating new Language
- Login to your admin panel.
- Go to Setting > Languages.
- Click on Add Language button.
- Put all required information and make the status to Public.
- And Save.
- Now it's time to translate the data.
Translating the static texts
- Go to the root of te php project.
- Go to resources > lang
- Copy the Sample folder and name the new folder to the short code of the newly added language in the previous step.
- Translate the admin.json, frontend.json and lang.php file.
- If your default language is not English, Please open the .env file from root. And change the value of DEFAULT_LANG to your desired language.