$url must be an array to access $url['locale']