A
Asked
Hello,
I am using Simple Stock Manager and I am not trying to add a new language.
My goal is only to change existing text/labels (wording) to adapt the system for garage / oil change (vidange) usage.
What I am doing:
Editing existing language files (example: lang/en.json)
Only changing labels/words (not adding a new language)
Clearing all Laravel caches
Flushing LiteSpeed cache
Even reinstalling the application from scratch
Problem: No matter what text I change inside the language JSON files, the UI never reflects the changes.
The system always shows the original default wording.
From your support forum, I noticed mentions of frontend build (npm build) being required for language changes.
My questions:
Does this script require a frontend rebuild even for simple text/label changes?
If yes, how can this be handled on shared hosting without Node.js?
Which exact files/folders must be rebuilt and uploaded for text changes to take effect?
Is this a known limitation of the script?
I only want to customize wording, not add new languages.
Thank you for your clarification.
I am using Simple Stock Manager and I am not trying to add a new language.
My goal is only to change existing text/labels (wording) to adapt the system for garage / oil change (vidange) usage.
What I am doing:
Editing existing language files (example: lang/en.json)
Only changing labels/words (not adding a new language)
Clearing all Laravel caches
Flushing LiteSpeed cache
Even reinstalling the application from scratch
Problem: No matter what text I change inside the language JSON files, the UI never reflects the changes.
The system always shows the original default wording.
From your support forum, I noticed mentions of frontend build (npm build) being required for language changes.
My questions:
Does this script require a frontend rebuild even for simple text/label changes?
If yes, how can this be handled on shared hosting without Node.js?
Which exact files/folders must be rebuilt and uploaded for text changes to take effect?
Is this a known limitation of the script?
I only want to customize wording, not add new languages.
Thank you for your clarification.
- MSAnsweredHello,
You need nodes to run npm command to build the app. If you don't have nodes son server then you can do changes on local machine then build with `npm i && npm run build` to build production then upload to server. This command should be run in the main folder where, app, vendor, .env and package.json files are.
Yes, the app needs to be rebuild on any changes made ion `resources` and `lang` folder.
Thank you - Login to Reply