class I18n::Backend::LocaleExtractor
def locale_from_path(path)
def locale_from_path(path) name = File.basename(path, ".*") locale = name.split("_").first locale.to_sym unless locale.nil? end
def locale_from_path(path) name = File.basename(path, ".*") locale = name.split("_").first locale.to_sym unless locale.nil? end