I18n::Config
Inherits Reference < Object
Instance methods
Sets the current backend. Used to set a custom backend.
Returns the current exception handler. Defaults to an instance of I18n::ExceptionHandler.
Sets the exception handler.
Allow clients to register paths providing translation data sources. The backend defines acceptable sources.
E.g. the provided SimpleBackend accepts a list of paths to translation files which are either named *.rb and contain plain Ruby Hashes or are named *.yml and contain YAML data. So for the SimpleBackend clients may register translation files like this: I18n.load_path << 'path/to/locale/en.yml'
Sets the load path instance. Custom implementations are expected to behave like a Ruby Array.
The only configuration value that is not global and scoped to thread is :locale. It defaults to the default_locale.
Sets the current locale pseudo-globally, i.e. in the Thread.current hash.