Welcome Guest, Not a member yet? Register   Sign In
Ci4 system error localization not working
#8

(This post was last modified: 01-06-2021, 07:14 AM by MrWhite.)

(01-05-2021, 11:22 PM)paulbalandan Wrote: You need to have in the routes definition a `{locale}` placeholder so that the Request object can set the locale properly.

Hey, thats the strange thing here.

As I said in one of my previous replies to this thread, {local} part already in my routes group. and working fine for my custom views. but not working for these system error pages.

I get that (404 - File Not Found) title part cannot be localized. but I think error message itself should get localized to the right local in the url (HTTP.php lang file does have corresponding lang string for this error messsage.). but its not happening. but when I change public $defaultLocale = 'en'; to public $defaultLocale = 'de'; then that error message get localized into 'de' local. I think this a bug. These error messages should respect {local} part in the urls.
Reply


Messages In This Thread
RE: Ci4 system error localization not working - by MrWhite - 01-06-2021, 07:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB