Browse Source

Show language names in their language

Aditoo17 6 years ago
parent
commit
f50df02d7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/site/language.blade.php

+ 1 - 1
resources/views/site/language.blade.php

@@ -11,7 +11,7 @@
   <p class="font-weight-light">{{__('site.selectLocale')}}:</p>
   <ul class="list-group">
     @foreach(App\Util\Localization\Localization::languages() as $lang)
-    <a class="list-group-item font-weight-bold" href="/i/lang/{{$lang}}">{{locale_get_display_language($lang)}}</a>
+    <a class="list-group-item font-weight-bold" href="/i/lang/{{$lang}}">{{locale_get_display_language($lang, $lang)}}</a>
     @endforeach
   </ul>
 @endsection