Method: I18n::Processes::Data::FileSystemBase#external

Defined in:
lib/i18n/processes/data/file_system_base.rb

#external(locale) ⇒ ::I18n::Processes::Data::Siblings

Parameters:

  • locale (String, Symbol)

Returns:

  • (::I18n::Processes::Data::Siblings)


47
48
49
50
51
# File 'lib/i18n/processes/data/file_system_base.rb', line 47

def external(locale)
  locale = locale.to_s
  @external ||= {}
  @external[locale] ||= read_locale(locale, paths: config[:external])
end