1 month ago

show just not active language mcamara

Posted 1 month ago by ethar

in mcamara documentation use this code to show all active language

@foreach(LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
        <a rel="alternate" hreflang="{{ $localeCode }}"
            href="{{ LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
            {{ $properties['native'] }}

but its show all website language,

I want to show only not an active language, active language must not be shown

ex if site language (en, sp, fr)

and the user now in en lang must show just(sp,fr)

Please sign in or create an account to participate in this conversation.