Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing File Manager to Files #51

Closed
prescriptionlifeline opened this issue Mar 16, 2024 · 2 comments
Closed

changing File Manager to Files #51

prescriptionlifeline opened this issue Mar 16, 2024 · 2 comments

Comments

@prescriptionlifeline
Copy link

In all the blade templates there's trans('backpack::crud.file_manager'), which is showing up as File Manager. I'd lik to change that to Files. To that end I could change the appropriate entry in vendor/backpack/crud/src/resources/lang/en/crud.php but I'd rather not since any changes I do in vendor/ will be blown away if I do composer 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?

@jcastroa87
Copy link
Member

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.

@jcastroa87
Copy link
Member

Hello.

Due to not activity, I will close this issue; please feel free to re-open or create a new one if needed.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants