You don’t need to use npm for this. Just make sure you save your changes correctly and clear the cache. Your translations should appear after that.
LARAVEL TRANSLATIONS LANG NPM ARTISAN
First nothing, my english isn't good... lego
I need help
I Have a problem. I have a site that has everything in English, and I'm changing the files in the /lang/en/ folder for translating for spanish. But when I save, close, and reopen it, the changes aren't saved. The site tells me to run npm install is required, but when I do "npm install" via SSH on hostinger, it tells me this:
-bash: npm: command not found
And if I do it with artisan,
"php artisan npm install"
I get this: ERROR Command "npm" is not defined.
The goal is the following: How can I edit the files and make the changes actually be transmitted? I'm very new to Laravel... maybe it's something easy, but I'm lost. I hope someone understands what I meant to explain.
Thanks.... Greetings, I repeat, I'm very new to both the Laravel language and Laracasts forum's.
Please or to participate in this conversation.