feat(language-select): Add german support

pull/37/head
Clement G 4 years ago
parent a9118ece87
commit 3c6f98530d

@ -15,10 +15,11 @@ const LanguageSelector = () => {
};
let locale=i18n.language.substring(0,2).toUpperCase()
console.log(locale);
if(locale==="EN")locale="GB";
return (<ReactFlagsSelect onSelect={selectHandler}
className="text-primary"
countries={["GB", "FR", "ES"]}
countries={["GB", "FR", "ES", "DE"]}
showOptionLabel={false}
defaultCountry={locale}
selectedSize={14}

Loading…
Cancel
Save