February 12, 2020

How to automatically show language based on user's browser language in Premium URL Shortener

Back to Solutions

To switch the language for users based on the user's browser language settings, you can do the following. Open the file app/config/app.php 62 to find

'browserbasedlang' => false,
You will need to replace that by 

'browserbasedlang' => true,
That is it. It is as easy as that.

Was this solution helpful?

Related Solutions

7-Day Website

Professional site, live in one week. Built to convert visitors into customers.

Your website. Live in 7 days or less. Starting at $999.

Enterprise Solutions

Complex requirements? We've built platforms handling 10M+ requests daily.

Let's architect something your competitors can't copy.

GemPixel