Question: How To Edit The Code And Add Custom Language

How To Edit The Code And Add Custom Language

Hello, Firstly, amazing work with this platform. 1 - I successfully installed TSMS. I want to make some little changes, but I am not finding where I should do them. I want to change on

GF

Geart Ferhati

Asked

Hello,

Firstly, amazing work with this platform.

1 - I successfully installed TSMS. I want to make some little changes, but I am not finding where I should do them. I want to change on the frontend. I tried in here \resources\js\Pages, but it didnt work. I changed the Vue.js files, added some text in some parts of the code but it didnt work. It didnt show any output when I reloaded the page. Where and how can I edit this code?

2 - If I want to change the language of this entire platform to a custom language how can I do that. I want to change only the output, so the frontend, the code is okay to be in english.

Looking forward to an answer ASAP. Thank You!

  • MS

    Mian Saleem

    Answered

    Hello,

    You are correct. The page view files are in resources/js/Pages/ folder. You need to install the node dependencies with npm i then you can run npm run dev for dev server and for production npm run build and deploy to your server.

    To add language please duplicate lang/en.json then translate it. Once translated, you can edit lang/languages.json to add your language entry. Lastly run npm run prod to build the application.

    Thank you

  • Login to Reply