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 (
diff --git a/src/i18n/locales/tr_TR.json b/src/i18n/locales/tr_TR.json index 1759879f..404b9f5e 100644 --- a/src/i18n/locales/tr_TR.json +++ b/src/i18n/locales/tr_TR.json @@ -534,7 +534,7 @@ "more_from_curator": "More from {name}", "show_more": "Daha Fazla Göster", "show_less": "Daha Az Göster", - "show_all": "Hepsini Göster ↓", + "show_all": "Hepsini Göster", "showing": "Gösteriliyor", "no_images": "Fotoğraf bulunamadı", "no_quotes": "Alıntı bulunamadı",