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
phcpress-29.0.0 config/initializers/locale.rb
phcmembers-37.0.0 config/initializers/locale.rb
phcscriptcdnpro-42.0.0 config/initializers/locale.rb
phcpresspro-43.0.0 config/initializers/locale.rb
phcmemberspro-49.0.0 config/initializers/locale.rb
phcscriptcdnpro-41.0.0 config/initializers/locale.rb
phcpresspro-42.0.0 config/initializers/locale.rb
phcmemberspro-48.0.0 config/initializers/locale.rb
phcpresspro-41.0.0 config/initializers/locale.rb
phcscriptcdnpro-40.1.0 config/initializers/locale.rb
phcpresspro-40.1.0 config/initializers/locale.rb
phcmemberspro-47.1.0 config/initializers/locale.rb
phcpress-28.0.0 config/initializers/locale.rb
phcmembers-36.0.0 config/initializers/locale.rb
phcscriptcdnpro-40.0.0 config/initializers/locale.rb
phcpresspro-40.0.0 config/initializers/locale.rb
phcmemberspro-46.0.0 config/initializers/locale.rb
phcpress-27.0.0 config/initializers/locale.rb
phcmembers-35.0.0 config/initializers/locale.rb
phcmemberspro-45.0.1 config/initializers/locale.rb