Sha256: b728e8f510ea7f2665e1f4bce0674ed23802229e91c98a0eec1634ad25dc36fb

Contents?: true

Size: 254 Bytes

Versions: 13

Compression:

Stored size: 254 Bytes

Contents

require 'pathname'
require 'i18n'
require "i18n/backend/fallbacks"

I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
I18n.fallbacks.map(:'zh-CN' => [:zh, :en])

I18n.load_path << Pathname.new(__dir__).join('../../config/locales/zh-CN.yml')

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
meta-api-0.2.0 lib//meta/load_i18n.rb
meta-api-0.1.2 lib//meta/load_i18n.rb
meta-api-0.1.1 lib//meta/load_i18n.rb
meta-api-0.1.0 lib//meta/load_i18n.rb
meta-api-0.0.9 lib//meta/load_i18n.rb
meta-api-0.0.8 lib/meta/load_i18n.rb
meta-api-0.0.7 lib/meta/load_i18n.rb
meta-api-0.0.6 lib/meta/load_i18n.rb
meta-api-0.0.5 lib/meta/load_i18n.rb
meta-api-0.0.4 lib/meta/load_i18n.rb
meta-api-0.0.3 lib/meta/load_i18n.rb
meta-api-0.0.2 lib/meta/load_i18n.rb
meta-api-0.0.1 lib/meta/load_i18n.rb