Sha256: 95a17633c238b3775d4d28d3476cd72787bdf3556735b71806237b6db968cc43

Contents?: true

Size: 184 Bytes

Versions: 1

Compression:

Stored size: 184 Bytes

Contents

# in config/initializer/locale.rb
I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
I18n.available_locales = [:en, :"zh-cn"]
I18n.default_locale = "zh-cn"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin_help-0.1.5 lib/generators/admin_help/templates/config/initializers/locale.rb