Added isLocale view helper for comparing with current locale