define default locale in .env - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: define default locale in .env (/showthread.php?tid=70296) |
define default locale in .env - gabpnr - 03-21-2018 Hello guys, can I suggest a small modification of the method detectLocale (IncomingRequest class) to be able to define the default locale in the .env file ? (only in the case where it is not defined in the conf file App.php) What do you think ? (I develop it for my usage, so i can put it on github) |