From 55ad56f689ae7ef16f034b9addd4ac4a3e9ed46f Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Thu, 17 Aug 2023 17:45:36 -0500
Subject: default translate to device language (#1207)

---
 src/view/com/post/Post.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/view/com/post/Post.tsx')

diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx
index 932b6cfd5..673ddefcf 100644
--- a/src/view/com/post/Post.tsx
+++ b/src/view/com/post/Post.tsx
@@ -133,8 +133,7 @@ const PostLoaded = observer(
       replyAuthorDid = urip.hostname
     }
 
-    const primaryLanguage = store.preferences.contentLanguages[0] || 'en'
-    const translatorUrl = getTranslatorLink(primaryLanguage, record?.text || '')
+    const translatorUrl = getTranslatorLink(record?.text || '')
     const needsTranslation = useMemo(
       () =>
         store.preferences.contentLanguages.length > 0 &&
-- 
cgit 1.4.1

