module I18nData::FileDataProvider
def cache_file_for(type, language_code)
def cache_file_for(type, language_code) file = "#{type}-#{language_code.sub('-', '_').upcase}" File.join(File.dirname(__FILE__), '..', '..', 'cache', 'file_data_provider', "#{file}.txt") end