Add Twemoji Flags and use it's icons for language setting
MODIFY
app/Http/Controllers/SettingsController.php
app/Http/Controllers/SettingsController.php
@@ -96,7 +96,7 @@ class SettingsController extends Controller {
$languages = [];
foreach (config('app.locales') as $key => $value) {
- $languages[] = ['key' => $key, 'label' => $value];
+ $languages[] = ['key' => $key, 'label' => '<i class="twf twf-sm twf-' . $key . '"></i> ' . $value];
}
return view('settings.preferences', compact('languages'));

MODIFY
resources/views/layout.blade.php
resources/views/layout.blade.php
<title>{{ View::hasSection('title') ? View::getSection('title') . ' - ' . config('app.name') : config('app.name') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf-token" content="{{ csrf_token() }}" />
+ <link rel="stylesheet" href="/storage/twemoji-flags.css" />
<script src="/storage/fontawesome/all.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Muli:400,400i,600,600i" />
<link rel="stylesheet" href="/css/app.css" />

Add Twemoji Flags and use it's icons for language setting