Fix warning when passing locale to url

See http://croogo.lighthouseapp.com/projects/32818/tickets/462-warnings-in-screen-when-try-translate-a-page-with-the-default-translate-plugin