I'm currently making my store bilangual (Dutch/English) and I'm doing this with the Translation Lab app from Sherpas Design. They are currently still developing an automatic store language redirect and told me to use another app in the meantime.
I'm not a code expert or any of that kind, but can get most of the code work done with some help. So I end up here asking if there are apps or maybe even an easier way to add script to my code that will automatically redirect users to their own language page. In this case redirecting dutch users to the dutch page.
I'd like to hear if you guys know a solution for this function.
You can potentially use Geo Redirect tool.
For more details on how to set up auto redirect, you could look at the tutorial: https://geotargetly.com/guides/geo-redirect-quick-start-guide
Hope it helps.
In the meantime we have solved the issue with a cookie and api.
The api checks the users location and the cookie wil remember that this user has been redirected already.
We added the folowing in the beginning of our theme.js.liquid: