Language Bug |
Hi!
I'm migrate from CI3 to CI4 and I think have a bug on lang general function. When I call it, according the guide, the system return me the variable and not the message. In Model: $teste = lang("Logout.NoUser", [], "pt-BR"); return $teste; Structure: app/Language/pt-BR/Logout.php <?php return [ "Logout.NoUser" => "User not found", ]; When return from model is passed to the view... View: |
Messages In This Thread |
Language Bug - by ajmeireles - 01-28-2020, 07:04 PM
RE: Language Bug - by zahhar - 01-29-2020, 11:35 AM
|