CodeIgniter Forums
define default locale in .env - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter 4 (
+--- Forum: CodeIgniter 4 Feature Requests (
+--- Thread: define default locale in .env (/thread-70296.html)

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)