Sha256: 3166cdf1795bd39e9ee507e3b27d5bc3f5be43da2c4678a63dca04bdd255f3f8
Contents?: true
Size: 318 Bytes
Versions: 7
Compression:
Stored size: 318 Bytes
Contents
require 'i18n' locale_paths = File.join(File.dirname(__FILE__), '..', 'xftp', '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
7 entries across 7 versions & 1 rubygems