class ISO3166::Country

def local_names

Returns:
  • (Array) - TThe list of names for this Country, in this Country's locales.
def local_names
  ISO3166.configuration.locales = (ISO3166.configuration.locales + languages.map(&:to_sym)).uniq
  reload
  @local_names ||= languages.map { |language| translations[language] }
end