Localization in Routes |
Hi, thanks for your comments !
I think you both have valuable arguments, storing the language in a cookie is indeed a valid solution to this problem, however it is not our preferred approach. To answer my own question, I found that I could implement the desired functionality through the creation of a Filter (see code below) application\Filters\Localization.php : PHP Code: <?php namespace App\Filters; application\Config\Filters.php: PHP Code: <?php namespace Config; |
Messages In This Thread |
Localization in Routes - by Dmonkeyjazz - 10-24-2018, 05:24 AM
RE: Localization in Routes - by Przem4S - 11-06-2018, 02:01 AM
RE: Localization in Routes - by Pertti - 11-06-2018, 02:35 AM
RE: Localization in Routes - by Dmonkeyjazz - 11-09-2018, 04:50 AM
RE: Localization in Routes - by puschie - 11-09-2018, 07:03 AM
|