Unable to overwrite language file from vendor |
When using a third party add in and language files, own language files adjustments are overwritten with the default values in the third party's vendor folder.
Using Codeigniter 4.0.2 and looking at the framework > system > Language > Language.php file, the $files are loaded in the correct order: app, vendor. But afterwards the array_replace_recursive is reverting this again. PHP Code: protected function requireFile(string $path): array So when there is a language file in vendor, and you use lang(vendor.) that still has priority over a customized user language file.
|
Welcome Guest, Not a member yet? Register Sign In |