def i18n_url(url, translate=TRANSLATED_URLS):
 if translate:
  return ugettext_lazy(url)
 return url

def i18n_url ( url , translate = TRANSLATED_URLS ) : if translate : return ugettext_lazy ( url ) return url
translate or not an url part .