class ISO3166::Data

def load_translations(locale)

def load_translations(locale)
  synchronized do
    locale_names = load_cache(['locales', "#{locale}.json"])
    internal_codes.each do |alpha2|
      @cache[alpha2]['translations'] ||= Translations.new
      @cache[alpha2]['translations'][locale] = locale_names[alpha2].freeze
      @cache[alpha2]['translated_names'] = @cache[alpha2]['translations'].values.freeze
    end
    ISO3166.configuration.loaded_locales << locale
  end
end