I have a select component which should be internationalised, such that based on the language of the website it shows country name in that language.
For instance, for UK and 2 languages it could be something like:
const country = {
'en': {
"GBR": "United Kingdom"
},
"ru": {
"GBR": "Великобритания"
}
}
Is there a npm module or library or resource I can use for this?