PlayFramework - How to use geolocation to redirect client to correct url based on country?
<p>In my play application I want to detect the country location of the client and change the url based on their country. </p>

<p>For instance, the client is based in Great Britain and they submit www.example.com I want the application to redirect them to www.example.com/gb</p>

<p>Will I need an external API to detect the country based on the IP address?
How will this be reflected in the routes file?</p>