CodeIgniter Forums
How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ (/showthread.php?tid=92325)



How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - TipoIT - 01-15-2025

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?


RE: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - JustJohnQ - 01-15-2025

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


RE: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - whomikey - 01-16-2025

(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.


RE: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - JustJohnQ - 01-16-2025

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


RE: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - TipoIT - 01-22-2025

(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.


RE: How to override Auth.php in vendor/codeigniter4/shield/src/Language/en/ - JustJohnQ - 01-22-2025

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