Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? |
Sorry, but the problem persists. I not only tried all the steps in the documentation, but also the tutorial above. Working app based on CI 4.2.x is at https://ccpdemo2.ozar.net - it can be tested by selecting a language from the dropdown in the right hand side of the top navbar. When all the code in this app is copied over to CI 4.3.x, it breaks and language selection menu always takes the user to an English page.
May I request, those who assert no such problem exists, describe all the steps to reproduce a working solution testing also with the Safari browser? Can't do withouts: The URLs to be tested need to be created using routes that will reside in the below route groups. PHP Code: $routes->group('{locale}/cp', [], function($routes) { PHP Code: $routes->group('{locale}/admin', [], function($routes) { CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5) |
Messages In This Thread |
Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? - by gosocial2 - 08-27-2023, 03:34 AM
RE: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? - by kenjis - 08-27-2023, 04:42 PM
RE: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? - by kenjis - 08-27-2023, 04:44 PM
RE: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? - by InsiteFX - 08-27-2023, 08:49 PM
RE: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)? - by gosocial2 - 08-30-2023, 12:20 AM
|