CodeIgniter Forums
Language file is not loaded - 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: Language file is not loaded (/showthread.php?tid=80509)



Language file is not loaded - Renkman - 11-10-2021

Hey folks,
maybe I missed something, but my language file called App.php (in app/Language/de/App.php) is not loading. When I reach the login page with myth auth... language file has been loaded (APPPATH/ThirdParty/myth-auth/src/Language/de/Auth.php).
My understanding was, that CODEIGNITER will load the language file automatically... DID I MISS SOMETHING? If i check the language with ($this->request->getLocale()Winkhe result is "de", so language setting is correct.
Don't laugh, I'm searching now for hours...


RE: Language file is not loaded - Renkman - 11-10-2021

ok, got it, found out that the first string has to be the name of the lang file... my fault...