Welcome Guest, Not a member yet? Register   Sign In
How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/
#1

Hello,

My question is really simple, and it's basically contained within a title subject of this thread. So the question is How do I override the stuff in Auth.php file in Shield vendor/codeigniter4/shield/src/Language/en/ folder?
-- AI can't have sex with your wife --
Reply
#2

Create a file Auth.php in app\Language\en en copy the contents of the original file. Modify to your liking.
Reply
#3

(01-15-2025, 04:41 AM)JustJohnQ Wrote: Create a file Auth.php in app\Language\en en copy the contents of the original file. Modify to your liking.

This did not work for me. I can't override the Shield language in the Auth.php file.
Reply
#4

Did you create a auth.php file in app\Language\en (or whatever language you are using)?
Reply
#5

(01-15-2025, 04:41 AM)JustJohnQ Wrote: Create a file Auth.php in app\Language\en en copy the contents of the original file. Modify to your liking.
It seem to work fine. Thanks.
-- AI can't have sex with your wife --
Reply
#6

(This post was last modified: 01-22-2025, 12:40 PM by JustJohnQ.)

Glad to be of help…
Please mark as solved….
Reply




Theme © iAndrew 2016 - Forum software by © MyBB