def prefix_locale?(locale = Language.current.code)
      multi_language? && locale != ::I18n.default_locale.to_s
    end
def prefix_locale?(locale = Language.current.code)
      multi_language? && locale != ::I18n.default_locale.to_s
    end
Decides if the locale should be prefixed to urls

 If the current language's locale (or the optionally passed in locale)
 matches the current I18n.locale then the prefix os omitted.
 Also, if only one published language exists.