Browse Source

Update lang attribute

Make the lang attribute similar to 

https://github.com/laravel/framework/blob/5.7/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub

See https://github.com/laravel/framework/pull/24392
Ankur Kumar 5 years ago
parent
commit
3973fe7897
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/welcome.blade.php

+ 1 - 1
resources/views/welcome.blade.php

@@ -1,5 +1,5 @@
 <!doctype html>
-<html lang="{{ app()->getLocale() }}">
+<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1">