How To Edit The Code And Add Custom Language

0

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!

Question Resolved For: Tailor Shop Management System (Web Version) 0 Votes 1 Answers 375 Views
Asked by Geart Ferhati 1 year ago

1

Answered by Mian Saleem

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

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.