Language
Add New Language
You can add language by following these steps.
- Duplicate
lang/en.json
andlang/en/
to your language and translate - Edit
lang/languages.json
and add your language entryjson{ "value": "bm", "label": "Bahasa Malaysia", "flag": "MY" }
- Build the applicationsh
npm i && npm run build
For development, you can run npm run dev
Update Language
You can modify your language by following these steps.
- Modify your language files
lang/bm.json
andlang/bm/*.php
- Re-build the applicationsh
npm run build
For development, you can run npm run dev
You must have installed the dependencies before running the commands with npm i