fix(i18n): keep locale on website->dashboard links; dashboard defaults to fa

Marketing-site login/register/dashboard links were locale-less (app.meezi.ir/login), so the dashboard auto-detected locale from the browser Accept-Language (en-US) and redirected Persian users to /en. Links now carry the current locale, and the dashboard sets localeDetection:false so any locale-less entry defaults to fa (Iran-first) instead of guessing from the browser.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-01 23:23:09 +03:30
parent 4c7783884c
commit 35494d8b32
5 changed files with 11 additions and 6 deletions
@@ -41,7 +41,7 @@ const fa = {
desc: "از داشبورد میزی در دسترس است",
value: "چت زنده",
cta: "ورود به داشبورد",
href: "https://app.meezi.ir",
href: "https://app.meezi.ir/fa",
},
],
officeTitle: "دفتر مرکزی",
@@ -79,7 +79,7 @@ const en = {
desc: "Available inside the Meezi dashboard",
value: "Live chat",
cta: "Go to dashboard",
href: "https://app.meezi.ir",
href: "https://app.meezi.ir/en",
},
],
officeTitle: "Head Office",