class ISO3166::Data
def load_alpha2_translation_for_locale(alpha2, locale, locale_names)
def load_alpha2_translation_for_locale(alpha2, locale, locale_names) @cache[alpha2]['translations'] ||= Translations.new @cache[alpha2]['translations'][locale] = locale_names[alpha2].freeze @cache[alpha2]['translated_names'] = @cache[alpha2]['translations'].values.freeze end