country-code-lookup icon indicating copy to clipboard operation
country-code-lookup copied to clipboard

Proposal: To support IBAN country names

Open mazyvan opened this issue 2 years ago • 1 comments

Taking this https://www.iban.com/country-codes as a reference. Should't UK name be:

United Kingdom of Great Britain and Northern Ireland

instead of only United Kingdom?

https://github.com/richorama/country-code-lookup/blob/master/index.js#L2385C15-L2385C29

We are trying to follow the IBAN Codes and names but wondering how practical would be to have the names here as they appear there. I noticed there are other discrepancies such as United States instead of the official name United States of America

I think that to avoid breaking changes it could be added as a separate property

mazyvan avatar Dec 14 '23 20:12 mazyvan

Hi @mazyvan

IABN API say that country should be max 32 character: image

in this case, I think all is correct.

On other side, you can use your own translations and using only iso codes to map the values between enums...

WuglyakBolgoink avatar Jan 08 '25 09:01 WuglyakBolgoink