Sha256: 972573e33fb39421e8ca6e12c3547f277cdb2ca34f93152e0a475b79c96257d5

Contents?: true

Size: 337 Bytes

Versions: 231

Compression:

Stored size: 337 Bytes

Contents

# config/initializers/locale.rb

# Where the I18n library should search for translation files
I18n.load_path += Dir[Rails.root.join('lib', 'locale', '*.{rb,yml}')]

# Whitelist locales available for the application
I18n.available_locales = [:en, :pt]

# Set default locale to something other than :en
I18n.default_locale = :en

Version data entries

231 entries across 231 versions & 5 rubygems

Version Path
phcscriptcdnpro-33.0.0 config/initializers/locale.rb
phcpresspro-30.0.0 config/initializers/locale.rb
phcmemberspro-39.0.0 config/initializers/locale.rb
phcpress-20.0.0 config/initializers/locale.rb
phcmembers-28.0.0 config/initializers/locale.rb
phcscriptcdnpro-32.0.1 config/initializers/locale.rb
phcpresspro-29.0.1 config/initializers/locale.rb
phcmemberspro-38.0.1 config/initializers/locale.rb
phcmembers-27.0.1 config/initializers/locale.rb
phcpress-19.0.1 config/initializers/locale.rb
phcscriptcdnpro-32.0.0 config/initializers/locale.rb
phcpresspro-29.0.0 config/initializers/locale.rb
phcmemberspro-38.0.0 config/initializers/locale.rb
phcpress-19.0.0 config/initializers/locale.rb
phcmembers-27.0.0 config/initializers/locale.rb
phcmemberspro-37.0.3 config/initializers/locale.rb
phcmemberspro-37.0.2 config/initializers/locale.rb
phcmemberspro-37.0.1 config/initializers/locale.rb
phcscriptcdnpro-31.0.0 config/initializers/locale.rb
phcmemberspro-37.0.0 config/initializers/locale.rb