title: Liferay translation depending on URL
body: <p>Our website (<a href="http://172.x.x.x:8080/web/compagny-name/home" rel="nofollow">http://172.x.x.x:8080/web/compagny-name/home</a>) has an English and French versions. By default, the En version is applied and a "Fr" link in the website lets you switch to the French one (<a href="http://172.x.x.x:8080/fr/web/compagny-name/home" rel="nofollow">http://172.x.x.x:8080/fr/web/compagny-name/home</a>).
  We created 2 domain names: www.mywebsite.com and www.mywebsitefr.com. Both are mapped to the same IP:port(172.x.x.x:8080). The problem is the Fr domain name (www.mywebsitefr.com) brings you to the default version (English) and you have to click on the "Fr" link to reach the French one.
  I wanted www.mywebsitefr.com brings you directly to <a href="http://172.x.x.x:8080/fr/web/compagny-name/home" rel="nofollow">http://172.x.x.x:8080/fr/web/compagny-name/home</a> and www.mywebsite.com on <a href="http://172.x.x.x:8080/web/compagny-name/home" rel="nofollow">http://172.x.x.x:8080/web/compagny-name/home</a>.
  I have no idea how to do that and what/where should I search for that.</p>