Why are we checking the default locale only when there is `{{locale}}` in the href?
(please add a comment in source)
Also, a comment explaining the `{{locale}}` story would be handy.