title: Localize URL's with ui-router and angular-translate
body: <p>I am using ui-router for routing and angular-translate for translations. What i would like to achieve is having the selected language bind to the url like so:</p>
  
  <pre><code>www.mydomain.com/en/
  www.mydomain.com/ru/
  www.mydomain.com/en/about
  www.mydomain.com/ru/about
  </code></pre>
  
  <p>and it will respond accordingly.</p>
  
  <p>Tried to look for examples, but did not find anything.
  If someone implemented similar solution, i would love to hear how you did it.</p>
  
  <p>Thanks</p>