Sha256: 8d7220abfd81e5afc3d11625bc41bdece324e19d69d771e2099f25b8ea82c632

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

require 'i18n'

DEFAULT_LOCALE = :en

locales = Dir[File.expand_path('../../locale/*.yml', __FILE__)]
I18n.load_path += locales
I18n.backend.load_translations

I18n.locale = DEFAULT_LOCALE

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cheque-0.1.1 config/initializers/setup_i18n.rb
cheque-0.1.0 config/initializers/setup_i18n.rb