dimanche 26 avril 2020

Laravel multi language option

Currenly i am working a mlm website. Client requirement is When user come to website they can select language. when the click specific language then it will automatically translate language

                        <li>
                        <img class="language-flag" src="/icon/flags/English-flag.svg" alt="">
                        <a href="" title="English" class="language__item" style="background-position:-0px -0px;" data-cf-modified-6443d1b43f4ab48f9fb6cc28-="" data-cf-modified-107c802c5212d7df077f3a9f-="">English</a>
                    </li>
                    <li>
                        <img class="language-flag" src="/icon/flags/Arabic-flag.svg" alt="">
                        <a href="#" title="Arabic" class="language__item" style="background-position:-100px -0px;" data-cf-modified-6443d1b43f4ab48f9fb6cc28-="" data-cf-modified-107c802c5212d7df077f3a9f-=""> Arabic </a>
                    </li>

I want to change language my all app to specific user. Here is the code where user can select language option .



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Sbfljd
via IFTTT

Aucun commentaire:

Enregistrer un commentaire