Get current language

Get current language

Here’s how to access current language code (pl, en, nl-be etc.) in Laravel 5:

Of course, except for ‘example #1’, you have to ‘use’ appropriate objects.