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
phcpresspro-37.0.0 config/initializers/locale.rb
phcmemberspro-43.0.0 config/initializers/locale.rb
phcpress-24.0.0 config/initializers/locale.rb
phcmembers-32.0.0 config/initializers/locale.rb
phcmembers-31.2.0 config/initializers/locale.rb
phcpress-23.2.0 config/initializers/locale.rb
phcpresspro-36.1.0 config/initializers/locale.rb
phcscriptcdnpro-36.1.0 config/initializers/locale.rb
phcmemberspro-42.1.0 config/initializers/locale.rb
phcpress-23.1.0 config/initializers/locale.rb
phcmembers-31.1.0 config/initializers/locale.rb
phcpresspro-36.0.0 config/initializers/locale.rb
phcpresspro-35.0.0 config/initializers/locale.rb
phcpresspro-34.0.1 config/initializers/locale.rb
phcpresspro-34.0.0 config/initializers/locale.rb
phcpresspro-33.0.2 config/initializers/locale.rb
phcpresspro-33.0.1 config/initializers/locale.rb
phcscriptcdnpro-36.0.0 config/initializers/locale.rb
phcpresspro-33.0.0 config/initializers/locale.rb
phcmemberspro-42.0.0 config/initializers/locale.rb