# File lib/active_support/vendor/i18n-0.4.1/i18n.rb, line 237 def with_locale(tmp_locale = nil) if tmp_locale current_locale = self.locale self.locale = tmp_locale end yield ensure self.locale = current_locale if tmp_locale end