Change language URL in frontend

Laraship QuestionsCategory: TechnicalChange language URL in frontend
mostafa922 asked 6 years ago

Hello Guys,

How can I add a menu link to change the language in the frontend? I want to add a URL to change the language in my customized theme in the portal.

So I found that " set-locale/ar " is what should I use but its not working with all browsers! Any advice please?

To Try:

Thanks in advance.

1 Answers
laraship Staff answered 6 years ago


This URL should be enough to switch the URL, we have tested and conformed on all major browsers, setting cookies require cookie to be enabled to you have to make sure your website is supporting cookies