Sha256: 7a98bd225e5118366223bbc3ae62e4e5ba4de0550434eda9aeb044efd92cdf50

Contents?: true

Size: 268 Bytes

Versions: 24

Compression:

Stored size: 268 Bytes

Contents

require 'i18n'
require 'set'

locale_path = File.join(File.dirname(__FILE__), 'locales')
I18n.load_path = Dir[File.join(locale_path, '*.yml')]
I18n.backend.load_translations

if I18n.respond_to?(:enforce_available_locales=)
  I18n.enforce_available_locales = true
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
negroku-2.0.0.pre6 lib/negroku/i18n.rb
negroku-2.0.0.pre5 lib/negroku/i18n.rb
negroku-2.0.0.pre4 lib/negroku/i18n.rb
negroku-2.0.0.pre3 lib/negroku/i18n.rb