it's telling browsers that the language for the current document is 'en' or whatever you have set your locale (config/app.php)
Dec 3, 2018
3
Level 13
<html lang="{{ app()->getLocale() }}"> what is the usage of this in app.blade.php?
Can i know whether it is giving local language or anything else.?
Level 53
in your /resources/lang you'll have a few locales already setup (they'll have validation messages for forms etc.)
Here: https://github.com/caouecs/Laravel-lang/tree/master/src you can find more locales.
but after setting them up, you'll still need to make sure to use the language translation helper in your views to translate data: https://laravel.com/docs/5.7/localization
Please or to participate in this conversation.