# File lib/i18n/config.rb, line 10 def locale=(locale) I18n.enforce_available_locales!(locale) @locale = locale.to_sym rescue nil end