Sha256: 7edac48ddbaa1219368279be95db13d856a22be726cd0b7cc6180d8285cd8df0
Contents?: true
Size: 335 Bytes
Versions: 16
Compression:
Stored size: 335 Bytes
Contents
require 'i18n' locale_paths = File.join(File.dirname(__FILE__), '..', 'locale', '*.yml') Dir[locale_paths].each { |path| I18n.load_path << path } I18n.backend.load_translations unless defined?(Rails) I18n.config.enforce_available_locales = true I18n.default_locale = :en I18n.available_locales = [:en, :ru]
Version data entries
16 entries across 16 versions & 1 rubygems