Language is not merging with modules #1433
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
missing feature
Reported issue which is not a bug but needs to be implemented
Milestone
Describe the bug
When a Language file with same name of an default file of the system/Language/en/ is in a module folder, it is not merged.
For example:
I have the following folder structure:
The namespace is proper configured in the Autoload config. I can see the commands when I call the
spark
.And the
lang()
function also works - BUT, if a module lang file has the same name of a default file, it does not works.If a file is named Foo.php, it works:
lang('Foo.hello')
.If a file is named HTTP.php, it does not works:
lang('HTTP.hello')
.Same for others, like Database.php, etc.
CodeIgniter 4 version
4.0.0-alpha.2
Affected module(s)
Language
Expected behavior, and steps to reproduce if appropriate
Expected that module Language files be merged.
Context
The text was updated successfully, but these errors were encountered: