Sha256: d2389b1ac2331a44c5fca6f8a7b6dd63a15a1c0ff6220427437597c09fd7ab21
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
# Add our own locales to load_path skyline_locales = Dir[Skyline.root + "config/locales/*.{yml,rb}"] # We'll be inserting our locales before the default config/locales directive idx = I18n.load_path.index(I18n.load_path.grep(/#{Rails.root}\/config\/locales.+/).first) I18n.load_path.insert(idx,*skyline_locales) # And we set a default (this can be overridden in an intializer) I18n.locale = "en-US" I18n.default_locale = "en-US"
Version data entries
5 entries across 5 versions & 2 rubygems