From 4f65136e743405b52060ea93159084807ea743a1 Mon Sep 17 00:00:00 2001 From: juvdiaz Date: Fri, 29 May 2026 12:00:50 -0600 Subject: [PATCH] Fix new visitor translation pipeline --- apps/website/translation.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/website/translation.js b/apps/website/translation.js index 379ed8d..5217a51 100644 --- a/apps/website/translation.js +++ b/apps/website/translation.js @@ -147,17 +147,6 @@ async function doTranslation() { function initTranslation() { - - if (CURRENT_LANG === 'nah' && browserLang !== 'nah') { - if (actionSpan) actionSpan.textContent = 'Switch to'; - if (detectedSpan) detectedSpan.textContent = 'English'; - if (prompt) prompt.style.display = 'block'; - if (btn) btn.addEventListener('click', () => { - window.location.href = window.location.pathname + '?lang=en'; - }); - return; - } - if (STATIC_LANGS.includes(browserLang)) return; if (browserLang === 'nah') return;