An interface with language codes following ISO 639-1 standard
Install the package...
npm install language-code
Use in project:
import { languageCode } from 'language-code';
...
// Setting locale to English:
const locale = languageCode['en']
// or
const locale = languageCode.en
To be continued (..)