Bug: lang('app.name') should prefer APPPATH.Language/Validation/en/app.php over installed packages #2354
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
Milestone
Describe the bug
lang('app.name') should prefer APPPATH.Language/Validation/en/app.php instead of any package like 'vendor/vendorName/package/Language/en/app.php'
In APPPATH.Language/Validation/en/app.php
In 'vendor/vendorName/package/Language/en/app.php'
Now
lang('app.name')
should return "New App" instead of "App"CodeIgniter 4 version
v4.0.0-rc.3
Affected module(s)
CodeIgniter\Language\Language::class
Expected behavior, and steps to reproduce if appropriate
Language files in APPPATH should be given preference
Context
The text was updated successfully, but these errors were encountered: