Class: I18n::Config

### Home Classes Methods

### In Files

- lib/gettext_i18n_rails/i18n_hacks.rb

### Parent

Object

### Methods

- #locale
- #locale=

### Class/Module Index

Quicksearch

- GettextI18nRails
- GettextI18nRails::Backend
- GettextI18nRails::BaseParser
- GettextI18nRails::GettextHooks
- GettextI18nRails::HamlParser
- GettextI18nRails::HtmlSafeTranslations
- GettextI18nRails::ModelAttributesFinder
- GettextI18nRails::Railtie
- GettextI18nRails::SlimParser
- RubyGettextExtractor
- RubyGettextExtractor::Extractor18
- RubyGettextExtractor::Extractor19
- RubyGettextExtractor::ExtractorMethods
- ActionController
- ActionController::Base
- ActiveModel
- ActiveModel::Translation
- ActiveRecord
- ActiveRecord::Base
- I18n
- I18n::Config
- Object
- String

No matching classes.

# I18n::Config

### Public Instance Methods

locale() click to toggle source

    # File lib/gettext_i18n_rails/i18n_hacks.rb, line 5
    def locale
      FastGettext.locale.gsub("_","-").to_sym
    end

locale=(new_locale) click to toggle source

    # File lib/gettext_i18n_rails/i18n_hacks.rb, line 9
     def locale=(new_locale)
      FastGettext.locale=(new_locale)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.