class ISO3166::Country

def translation(locale = 'en')

Returns:
  • (String) - the name of this Country in the selected locale.

Parameters:
  • locale (String) -- The locale to use for translations.
def translation(locale = 'en')
  data['translations'][locale.to_s.downcase]
end