Open RgnDunes opened 5 months ago
When passed in a Country Code like 'IN' it should return me the Country Name i.e., 'India'.
For getting the name of the countries for use in phone number input.
Intl.DisplayNames
Use of new Intl.DisplayNames directly.
new Intl.DisplayNames
Request raised by @anuraghazra here: https://razorpay.slack.com/archives/C01H13RTF8V/p1710150309383779
@RgnDunes If this is not implemented yet , can i pick this up ?
Feature Summary
When passed in a Country Code like 'IN' it should return me the Country Name i.e., 'India'.
Use Case
For getting the name of the countries for use in phone number input.![image](https://github.com/razorpay/i18nify/assets/61814592/8356aaf2-b30d-40b6-bd1c-97f966285f24)
Proposed Solution
Intl.DisplayNames
.Describe alternatives you've considered
Use of
new Intl.DisplayNames
directly.Additional Context
Request raised by @anuraghazra here: https://razorpay.slack.com/archives/C01H13RTF8V/p1710150309383779