Closed prescriptionlifeline closed 3 months ago
Hello @prescriptionlifeline
The correct path to replace lang is
lang/vendor/backpack/en/crud.php
So you need to copy the language file there and change as you need.
Cheers.
Hello.
Due to not activity, I will close this issue; please feel free to re-open or create a new one if needed.
Cheers.
In all the blade templates there's
trans('backpack::crud.file_manager')
, which is showing up asFile Manager
. I'd lik to change that toFiles
. To that end I could change the appropriate entry invendor/backpack/crud/src/resources/lang/en/crud.php
but I'd rather not since any changes I do invendor/
will be blown away if I docomposer update
and, since that directory is in my .gitignore wouldn't be shared with anyone else anyway.Consequently, I thought that if I copied that file to my
resources/
directory that that'd do the trick but it is unclear to me where I'd copy that file. I tried a number of places without success. Here's a non comprehensive list of the directories I tried copying it to:resources/lang/vendor/backpack/crud/en/crud.php
resources/lang/en/vendor/backpack/crud/crud.php
Any ideas?