Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="dropdown btn-group">
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- Select Language
- </a>
- <ul class="dropdown-menu">
- @foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
- <li>
- <a rel="alternate" hreflang="{{ $localeCode }}" href="{{ LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
- {{ $properties['native'] }}
- </a>
- </li>
- @endforeach
- </ul>
- </div>
Add Comment
Please, Sign In to add comment