Closed antonioribeiro closed 10 years ago
Service Provider boot happens before anything else. You're loading translated messages here: https://github.com/msurguy/Honeypot/blob/master/src/Msurguy/Honeypot/HoneypotServiceProvider.php#L19
So if I add
App::setLocale('another lang');
to my app/start/global.php, it's too late, because the english (default) was already loaded.
Hmmm I see... What would be a way to prevent this and let users to load custom locale?
Answered that via https://github.com/msurguy/Honeypot/pull/13.
Thanks so much!
Service Provider boot happens before anything else. You're loading translated messages here: https://github.com/msurguy/Honeypot/blob/master/src/Msurguy/Honeypot/HoneypotServiceProvider.php#L19
So if I add
to my app/start/global.php, it's too late, because the english (default) was already loaded.