chimit's avatar

How to specify a language for a single request in Lumen?

I need to show a simple page (view) in the user's language, but it's not so easy in Lumen.

As long as Lumen has no sessions support I can't just log in a user to use his locale:

Auth::login($user);

or

Auth::onceUsingId($user->id);

Any ideas?

0 likes
1 reply

Please or to participate in this conversation.