Last active
August 1, 2017 11:29
-
-
Save beyazitkolemen/64ed46727d01b26c5ce77eab772e85c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li class="dropdown "><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ LaravelLocalization::getCurrentLocaleName() }}<i class="fa fa-angle-down"></i></a> | |
<ul class="dropdown-menu"> | |
@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties) | |
<li> | |
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ LaravelLocalization::getLocalizedURL($localeCode, '/', [], true) }}"> | |
{{ $properties['native'] }} | |
</a> | |
</li> | |
@endforeach | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment