diff --git a/src/features/marketplace/components/Items/Item.jsx b/src/features/marketplace/components/Items/Item.jsx index c1880bd0..0b872928 100644 --- a/src/features/marketplace/components/Items/Item.jsx +++ b/src/features/marketplace/components/Items/Item.jsx @@ -128,7 +128,9 @@ class Item extends PureComponent { ); const locale = localStorage.getItem('language'); - let languageNames = new Intl.DisplayNames(["en"], { type: "language" }); + console.log(locale); + const shortLocale = locale.includes('_') ? locale.split('_')[0] : locale; + let languageNames = new Intl.DisplayNames([shortLocale], { type: "language" }); return (