diff --git a/react/features/invite/components/dial-in-summary/web/NumbersList.js b/react/features/invite/components/dial-in-summary/web/NumbersList.js index 2d6cbd856..c644555a2 100644 --- a/react/features/invite/components/dial-in-summary/web/NumbersList.js +++ b/react/features/invite/components/dial-in-summary/web/NumbersList.js @@ -66,9 +66,20 @@ class NumbersList extends Component { (resultNumbers, number) => { // The i18n-iso-countries package insists on upper case. const countryCode = number.countryCode.toUpperCase(); - const countryName = countryCode === 'SIP' - ? t('info.sip') - : t(`countries:countries.${countryCode}`); + + let countryName; + + if (countryCode === 'SIP') { + countryName = t('info.sip'); + } else { + countryName = t(`countries:countries.${countryCode}`); + + // Some countries have multiple names as US ['United States of America', 'USA'] + // choose the first one if that is the case + if (!countryName) { + countryName = t(`countries:countries.${countryCode}.0`); + } + } if (resultNumbers[countryName]) { resultNumbers[countryName].push(number);